DIALOGUE SUPPORT DEVICE AND DIALOGUE SUPPORT METHOD
The dialogue support device enhances chatbot accuracy by using additional questions to gather missing information from users, ensuring precise responses even with limited initial input.
Patent Information
- Application Number
- JP2020106122
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-06-19
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2040-06-19
AI Technical Summary
Existing chatbot systems struggle to accurately provide answers when the amount of information in a user's question is insufficient, leading to a lack of appropriate responses.
A dialogue support device and method that utilizes a processor and memory with databases storing important words and user attributes, generating additional questions to gather more information through user terminals, and refining answers based on responses to these questions.
Ensures accurate answers are generated even when initial user input is insufficient by engaging users with targeted questions, thereby improving response quality.
Smart Images

Figure 0007555203000003 
Figure 0007555203000011 
Figure 0007555203000005
Abstract
Description
[Technical field]
[0001] The present invention relates to a dialogue support device and a dialogue support method. [Background technology]
[0002] Chatbot systems using voice or text are becoming more and more popular. However, depending on the content of a user's utterance or question, the chatbot system may not be able to extract the necessary information and may have to provide a large number of answer candidates.
[0003] For example, Patent Document 1 discloses an information processing device having a dialogue scenario storage unit that stores question data to be provided to a user, a dialogue history data storage unit that stores dialogue history data which is a history of responses for each user to the questions, a dialogue control unit that selects a question to be provided to the user based on the number of dialogue history data items and the number of search target data items and narrows down the search target data based on the user's response to the question, and an input / output control unit that provides the question to the user, obtains the response to the question from the user, and provides the user with the search target data narrowed down based on the response. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2011-076360 A Summary of the Invention [Problem to be solved by the invention]
[0005] The information processing device according to Patent Document 1 attempts to narrow down search target data according to the user's answer history for each question. However, this information processing device can only narrow down search target data within the range of answers to the question. Therefore, depending on the content of the question, it may not be possible to narrow down the data appropriately, and it may not be possible to provide an appropriate answer to the user.
[0006] The present invention has been made in consideration of the above background, and its object is to provide a dialogue support device and a dialogue support method that are capable of generating an accurate answer even when the amount of information in a user's question is insufficient. [Means for solving the problem]
[0007] In order to solve the above problems, one aspect of the present invention is a method for controlling a computer comprising: A first database is stored which stores important words and their synonyms among each word in a question or an answer, and a second database is stored which stores information about each user, which has been acquired in advance, for each attribute; an additional question providing process for receiving a question from a terminal managed by a predetermined user, transmitting the received question to a predetermined information processing system, receiving a first answer specified by the question from the information processing system, determining whether the received first answer satisfies a predetermined requirement, and if it is determined that the first answer does not satisfy the predetermined requirement, receiving a response to the additional question from the terminal by transmitting an additional question related to the user to the terminal, and transmitting the received response and the question received from the terminal to the information processing system; and a final answer providing process for receiving the response and a second answer specified by the question from the terminal from the information processing system, and transmitting the received second answer to the terminal. and in the additional question providing process, when it is determined that the first answer does not satisfy the predetermined requirement, if the important word or its synonym is included in information about the user stored in the second database, a question is generated asking whether an attribute value of the information is correct for the important word or its synonym, and the generated additional question is transmitted to the terminal, thereby receiving a response to the additional question from the terminal; and in the final answer providing process, when there is a response indicating that the additional question about the important word or its synonym is correct, the second answer specified by the important word or its synonym is received from the information processing system. It is a dialogue support device.
[0008] Another aspect of the present invention for solving the above problem is an information processing device including a processor and a memory, A first database is stored which stores important words and their synonyms among each word in a question or an answer, and a second database is stored which stores information about each user, which has been acquired in advance, for each attribute;an additional question providing process for receiving a question from a terminal managed by a predetermined user, transmitting the received question to a predetermined information processing system, receiving a first answer specified by the question from the information processing system, determining whether the received first answer satisfies a predetermined requirement, and if it is determined that the first answer does not satisfy the predetermined requirement, receiving a response to the additional question from the terminal by transmitting an additional question related to the user to the terminal, and transmitting the received response and the question received from the terminal to the information processing system; and a final answer providing process for receiving the response and a second answer specified by the question from the terminal from the information processing system, and transmitting the received second answer to the terminal. and in the additional question providing process, when it is determined that the first answer does not satisfy the predetermined requirement, if the important word or its synonym is included in information about the user stored in the second database, a question is generated asking whether an attribute value of the information is correct for the important word or its synonym, and the generated additional question is transmitted to the terminal, thereby receiving a response to the additional question from the terminal; and in the final answer providing process, when a response indicating correctness is received in response to the additional question about the important word or its synonym, the second answer specified by the important word or its synonym is received from the information processing system. A dialogue support method. Effect of the Invention
[0009] According to the present invention, even if the amount of information in a user's question is insufficient, an accurate answer can be generated.
[0010] Problems, configurations and effects other than those described above will become apparent from the following description of the embodiments. [Brief description of the drawings]
[0011] [Figure 1] FIG. 1 is a diagram illustrating an example of a configuration of a dialogue system according to an embodiment of the present invention. [Diagram 2] FIG. 13 is a diagram illustrating an example of a response table. [Diagram 3] FIG. 4 is a diagram showing an example of information stored in a user information DB; [Figure 4] FIG. 2 is a diagram illustrating an example of information stored in a thesaurus DB. [Diagram 5] FIG. 2 is a diagram illustrating an example of hardware included in each information processing device in the dialogue system. [Figure 6] FIG. 2 is a diagram for explaining an overview of processing performed in the dialogue system. [Figure 7] FIG. 11 is a sequence diagram illustrating an example of a user question answering process. [Figure 8] FIG. 11 is a sequence diagram illustrating an example of a process for providing an additional question. [Figure 9] FIG. 11 is a sequence diagram illustrating an example of a final answer providing process. [Figure 10] FIG. 11 is a sequence diagram illustrating an example of an initial response acquisition process. [Figure 11] FIG. 11 is a sequence diagram illustrating an example of a final response acquisition process. [Figure 12] 4 is a flow diagram illustrating details of a process performed by a dialogue processing unit. FIG. [Figure 13] 11 is a diagram illustrating an example of processing by a dialogue processing unit. FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] 1 is a diagram showing an example of the configuration of a dialogue system 1 according to this embodiment. The dialogue system 1 is a voice dialogue system including information processing devices including one or more user terminals 100, a dialogue support system 200, and an external system 300.
[0013] The user terminal 100, the dialogue support system 200, and the external system 300 are connected to each other via a LAN (Local Area Network), a WAN (Wide Area Network), the Internet, or a dedicated line. are communicatively connected via a wired or wireless network 5.
[0014] The user terminal 100 is a terminal used by each user who uses the dialogue system 1, and transmits a voice question (hereinafter referred to as a user question) to the external system 300 via the dialogue support system 200. The user terminal 100 also receives a follow-up question related to the user question from the dialogue support system 200, and transmits a response to this follow-up question. The user terminal 100 also receives an answer to the user question (final answer) generated based on the user question and the response to the follow-up question from the external system 300 via the dialogue support system 200.
[0015] In this embodiment, the user terminal 100 is assumed to include a location information acquisition system 101 (such as a Global Positioning System (GPS)).
[0016] The dialogue support system 200 generates a follow-up question for the user question, and transmits the generated follow-up question to the user terminal 100.
[0017] The external system 300 is a chatbot system, and specifically, for example, an API (Application Programming Interface) equipped with a voice recognition technology, or an RPA (Robotic Process Automation). An answer is generated based on the user's answers to the user questions and / or additional questions (hereinafter referred to as user input).
[0018] The external system 300 extracts each slot value (variable of utterance) from the user input based on the language understanding process for the user input, and obtains all answers having each extracted slot value from an answer table 350 described later. The external system 300 transmits information on the obtained answers to the dialogue support system 200.
[0019] The external system 300 transmits information on one or more answers to the dialogue support system 200 in accordance with the contents of the input sentence.
[0020] (Answer Table 350) 2 is a diagram showing an example of answer table 350. Answer table 350 is a database that stores combinations of slot values of each slot 351 for extracting a response to a user input as each record 352. In the example shown in the figure, slot 351 includes the user's name, company name, location (address), job title, and email address. Of these, the user's name, company name, job title, and email address are information on the user's attributes.
[0021] Next, the dialogue support system 200 will be described in detail.
[0022] As shown in FIG. 1, the dialogue support system 200 includes a Web server 210, a dialogue support device 220, a voice recognition server 230, a voice synthesis server 240, and a linking server 250.
[0023] The Web server 210 serves as an interface for the user terminal 100 , and transmits information input from the user terminal 100 to the dialogue support device 220 , and also transmits information received by the dialogue support device 220 to the user terminal 100 .
[0024] The dialogue support device 220 includes the functional units of a service control unit 221 and a dialogue processing unit 222 .
[0025] The service control unit 221 controls the processing relating to questions and answers transmitted and received between the user terminal 100 and the external system 300 .
[0026] The dialogue processing unit 222 performs various processes related to questions and answers. Specifically, the dialogue processing unit 222 includes an additional question providing unit 2221 and a final answer providing unit 2222.
[0027] The additional question providing unit 2221 receives a user question from the user terminal 100, and receives a first answer (hereinafter referred to as an initial answer) identified by the user question from the external system 300 by transmitting a slot related to the received question to the external system 300.
[0028] The additional question providing unit 2221 then determines whether the received initial answer satisfies a predetermined requirement (in this embodiment, whether the number of initial answers is equal to or less than a predetermined number), and if it determines that the initial answer does not satisfy the predetermined requirement, receives a response to the additional question from the user terminal 100 by transmitting an additional question about the user to the user terminal 100, and The answer slot and the question slot received from the user terminal 100 are transmitted to the external system 300 .
[0029] For example, the additional question providing unit 2221 generates an additional question about the user that asks about at least one of the user's attributes, the user's location, a specific word (key word in this embodiment) related to the user, or an additional question generated in the past, and transmits the generated additional question (hereinafter referred to as a past question) to the user terminal 100, thereby receiving a response to the additional question from the user terminal 100.
[0030] Specifically, the additional question providing unit 2221 determines whether or not the initial answer received from the external system 300 includes information from the user information DB 260 (hereinafter also referred to as user information), and if the initial answer includes information from the user information DB 260, generates an additional question about the user, asking whether the information in the user information DB 260 is correct, and transmits the generated additional question to the user terminal 100.
[0031] In addition, when the initial answer received from the external system 300 contains multiple pieces of information from the user information DB 260, the additional question providing unit 2221 generates an additional question about the user that collectively asks whether or not each of the pieces of information in the user information DB 260 is correct, and transmits the generated additional question to the user terminal 100.
[0032] In addition, when the additional question providing unit 2221 determines that the initial answer does not satisfy the specified requirements, it generates a question asking about important words related to the user as an additional question about the user, and transmits the generated additional question to the user terminal 100, thereby receiving a response to the additional question from the user terminal 100.
[0033] In addition, when the additional question providing unit 2221 determines that the initial answer does not satisfy specified requirements, it generates an additional question about the user, inquiring about the user's current location received from the user terminal 100, and transmits the generated additional question to the user terminal 100, thereby receiving a response to the additional question from the user terminal 100.
[0034] Furthermore, if the additional question providing unit 2221 determines that the final answer received by the final answer providing unit 2222 described below does not satisfy a predetermined requirement, it transmits a new additional question about the user to the user terminal 100.
[0035] Next, the final answer providing unit 2222 receives a response to the additional question and a final answer specified by the question from the user terminal 100 from the external system 300, and transmits the received final answer to the user terminal 100.
[0036] For example, the final answer providing unit 2222 receives from the external system 300 the information in the user information DB 260 indicated by the response to the follow-up question, and the final answer identified by each slot related to the question from the user terminal 100.
[0037] In particular, the final answer providing unit 2222 receives from the external system 300 a plurality of pieces of information in the user information DB 260 indicated by the response to the follow-up question, and a final answer identified by each slot related to the question from the user terminal 100.
[0038] Also, for example, the final answer providing unit 2222 receives from the external system 300 a response to a follow-up question regarding a key word, synonyms of the key word, and a final answer identified by each slot related to the question from the user terminal 100.
[0039] Next, the dialogue support device 220 includes a user information DB 260, a dialogue data DB 270, and a thesaurus DB 280.
[0040] The user information DB 260 is a database that stores information about each user that is necessary to carry out a follow-up question.
[0041] The dialogue data DB 270 is a database that stores data necessary for generating sentences such as follow-up questions.
[0042] The thesaurus DB 280 is a database that stores important words and their synonyms among the words in questions or answers transmitted and received by the dialogue system 1.
[0043] (User information DB) 3 is a diagram showing an example of information stored in the user information DB 260. The user information DB 260 is composed of one or more records having information on each item of a user ID 261, a name 262 of a user related to the user ID 261, a company name 263 of a user related to the user ID 261, a location 264 of a user related to the user ID 261 (for example, location information acquired and transmitted by the user terminal 100 based on the location information acquisition system 101), a job title 265 of a user related to the user ID 261, an e-mail address 266 of a user related to the user ID 261, and an additional question 267 previously transmitted to the user terminal 100 of the user related to the user ID 261. For example, the text of a question or a slot value is stored in the additional question 267.
[0044] The information contents of the user information DB 260 may be information received from the user terminal 100, may be preset by an administrator or the like, or may be automatically extracted from questions or answers transmitted and received in the dialogue system 1.
[0045] (Thesaurus DB) 4 is a diagram showing an example of information stored in the thesaurus DB 280. The thesaurus DB 280 is composed of one or more records having multiple items, that is, a representative word 281, which is a key word, and one or more synonyms 282 for the key word related to the representative word 281.
[0046] The contents of the information in the thesaurus DB 280 may be preset by an administrator or the like, or may be automatically extracted from questions or answers transmitted and received in the dialogue system 1.
[0047] Next, as shown in FIG. 1, the voice recognition server 230 converts the voice data received from the user terminal 100 into character string data (text data), and stores a custom language model 235 for performing language processing required for this conversion.
[0048] The voice synthesis server 240 converts character string data (text data) into voice data, and stores a voice synthesis dictionary 245 for carrying out the voice processing required for this conversion.
[0049] Next, the linkage server 250 transmits data generated by the dialogue processing unit 222 (e.g., user questions, responses to additional questions) to the external system 300, and also transmits data received from the external system 300 (e.g., initial responses, final responses) to the dialogue processing unit 222.
[0050] The Web server 210, the dialogue support device 220, the voice recognition server 230, the voice synthesis server 240, and the link server 250 are connected to each other via a wired or wireless network 7, such as a LAN (Local Area Network), a WAN (Wide Area Network), the Internet, or a dedicated line. are communicatively connected by
[0051] 5 is a diagram showing an example of hardware included in each information processing device in the dialogue system 1. Each information processing device includes a processor 11 such as a CPU, a memory 12 such as a RAM (Random Access Memory) or a ROM (Read Only Memory) in which programs, data, etc. are deployed, a storage device 13 such as a HDD (Hard Disk Drive), an SSD (Solid State Drive), or a flash memory, a communication device 14 such as a network interface card that communicates with other information processing devices, an input device 15 such as a keyboard or a touch panel, and an output device 16 including an output device such as a monitor or a display, which are connected to each other via a bus or the like.
[0052] The functions of each unit of each information processing device are realized, for example, by dedicated hardware, or by the processor 11 reading and executing each program stored in the memory 12 or the storage device 13. Note that each program may be pre-recorded in an external storage medium, or may be introduced when necessary via a predetermined communication network.
[0053] <Processing> Next, the processing performed by the dialogue system 1 will be described.
[0054] FIG. 6 is a diagram for explaining an outline of the processing performed by the dialogue system 1. As shown in FIG.
[0055] The dialogue system 1 executes a user question answer process s1 in which the user terminal 100 transmits a user question and a response to the additional question, an additional question providing process s2 in which the dialogue support system 200 performs processing related to the additional question, and a final answer providing process s3 in which the dialogue support system 200 transmits to the user terminal 100 a final answer based on the response to the additional question.
[0056] The additional question providing process s2 includes an initial answer acquisition process s4 for acquiring an answer (initial answer) from the external system 300 to the user question.
[0057] The final answer providing process s3 also includes a final answer acquisition process s5 of acquiring a final answer from the external system 300 based on the response from the user terminal 100 to the follow-up question.
[0058] These processes will be described in detail below.
[0059] <User question and answer process s1> 7 is a sequence diagram illustrating an example of the user question answering process s1. The user question answering process s1 is started, for example, when the user terminal 100 receives a voice input related to a user question.
[0060] First, the user terminal 100 of a certain user (hereinafter referred to as a target user) transmits voice data of a user question (hereinafter referred to as a user question voice) and information about the target user (user information) to the Web server 210 (s111).
[0061] In this case, for example, the user terminal 100 transmits attribute information such as the target user's name, company name, job title, or e-mail address as user information to the Web server 210. Also, for example, the user terminal 100 transmits current location information (location) to the Web server 210 as user information.
[0062] The Web server 210 transmits the user's question voice and the user information received from the user terminal 100 to the service control unit 221 of the dialogue support device 220 (s112).
[0063] The service control unit 221 issues an additional question based on the received user question voice and user information. The additional question providing process s2 is executed. The additional question providing process s2 will be described in detail later.
[0064] The service control unit 221 transmits the voice data of the additional question to the Web server 210 (s113), and the Web server 210 transmits the received voice data of the additional question to the user terminal 100 (s114).
[0065] The user terminal 100 outputs voice data of the additional question, and thereby accepts input of a voice response to the additional question from the user (s115).
[0066] When the user terminal 100 receives the input of the voice in response to the additional question, it transmits the voice data in response to the additional question to the Web server 210 (s116). The Web server 210 transmits the voice data in response to the additional question to the service control unit 221 (s117).
[0067] Thereafter, the service control unit 221 executes a final answer providing process s3 based on the voice data of the response to the additional question. The final answer providing process s3 will be described in detail later.
[0068] The service control unit 221 transmits the voice data of the final answer generated in the final answer providing process s3 to the Web server 210 (s118), and the Web server 210 transmits the received voice data of the final answer to the user terminal 100 (s119).
[0069] Finally, the user terminal 100 outputs the voice data of the received final answer (s120), and the user question answering process s1 is now complete.
[0070] <Additional question provision process s2> FIG. 8 is a sequence diagram illustrating an example of the additional question providing process s2.
[0071] First, the dialogue support device 220 converts the user's voice question received from the user terminal 100 into text data, and also stores the user information received together with the user's voice question (s215).
[0072] Specifically, first, service control unit 221 stores the user information received from Web server 210 in a new record created in user information DB 260 (s211), and also inputs the user's question voice received from Web server 210 to voice recognition server 230 (s212).
[0073] The voice recognition server 230 converts the user's question voice received from the service control unit 221 into text data (hereinafter referred to as user's question text), and transmits this user's question text to the service control unit 221 (s213).
[0074] The service control unit 221 transmits the user question text received from the voice recognition server 230 to the dialogue processing unit 222 of the dialogue support device 220 (s214).
[0075] The dialogue processor 222 searches for key words and their synonyms from the user question text (s216) and also extracts slot values from the user question text (s216).
[0076] Specifically, first, the dialogue processor 222 identifies important words from the user question text by searching the representative words 261 of each record in the user information DB 260, and then identifies synonyms by obtaining the synonyms 282 of the record.
[0077] Furthermore, the dialogue processor 222 extracts slot values of all extractable slots from the user question text. If the dialogue processor 222 is unable to extract all extractable slot values from the user question text alone, it may transmit a question for identifying the slot values to the user terminal 100 and receive a response to the question.
[0078] The dialogue processor 222 transmits each slot value extracted in s216 to the cooperation server 250 (s217).
[0079] The linking server 250 executes an initial answer acquisition process s4 for acquiring one or more answers (initial answers) to the user question by transmitting the received slot value to the external system 300 (s4). The initial answer acquisition process s4 will be described in detail later.
[0080] The link server 250 transmits the initial answer received from the external system 300 to the dialogue processing unit 222 of the dialogue support device 220 (s218). Then, the dialogue processing unit 222 determines whether or not a follow-up question regarding the initial answer is necessary (s219).
[0081] Specifically, for example, the dialogue processor 222 determines whether or not the number of received initial responses exceeds a predetermined threshold.
[0082] If no additional questions are required, the dialogue processing unit 222 treats the initial answer as the final answer and performs the process of s318 of the final answer providing process s3 described below. If additional questions are required, the dialogue processing unit 222 performs the process of s220 described next.
[0083] In s220, the dialogue processor 222 transmits an acquisition request for user information for generating an additional question (hereinafter referred to as additional question information) to the service controller 221. Then, the service controller 221 transmits the received acquisition request to the user information DB 260 (s221).
[0084] The user information DB 260 acquires the additional question information based on the received acquisition request.
[0085] Specifically, the user information DB 260 acquires the contents of each item (such as name 262, company name 263, location 264, job title 265, email address 266, or past questions 267) of the record related to the target user in the user information DB 260.
[0086] The user information DB 260 transmits the acquired information for additional question to the service control unit 221 (s222), and the service control unit 221 transmits this information for additional question to the dialogue processing unit 222 (s223).
[0087] The dialogue processor 222 generates one or more follow-up questions based on the received follow-up question information, and transmits the generated follow-up questions to the service controller 221 (s224, s225).
[0088] Details of this process will be described later, but for example, the dialogue processing unit 222 generates a question (text) asking whether the attribute information of the target user stored in the user information DB 260 is correct based on the additional question, and transmits the generated question (text) to the service control unit 221 (s224).
[0089] Also, for example, the dialogue processor 222 transmits the previous question 267 related to the target user stored in the user information DB 260 to the service controller 221 (s225).
[0090] Next, the service control unit 221 transmits each additional question (text) received from the dialogue processing unit 222 to the voice synthesis server 240 (s226). The voice synthesis server 240 converts each received additional question (text) into voice data, and transmits each converted voice data to the service control unit 221 (s227).
[0091] The service control unit 221 transmits each of the voice data received in s227 to the user terminal 100. Thereafter, the process of s113 in the user question answer process s1 described above is executed. This ends the additional question providing process s2.
[0092] <Final answer provision process s3> 9 is a sequence diagram illustrating an example of the final answer providing process s3. The final answer providing process s3 is started, for example, when the dialogue support device 220 receives voice data of a response to the additional question from the user terminal 100 in the process of s117 in the user question answering process s1.
[0093] The service control unit 221 of the dialogue support device 220 inputs the voice data of the response to the additional question received from the user terminal 100 to the voice recognition server 230 (s311). The voice recognition server 230 converts each input voice data into text data (hereinafter, referred to as additional question answer text) and transmits each converted additional question answer text to the service control unit 221 (s312).
[0094] The service control unit 221 transmits each of the received additional question answer texts to the dialogue processing unit 222 (s313).
[0095] The dialogue processor 222 extracts slot values of all extractable slots from the received additional question and answer texts and the user question text (s314).
[0096] The dialogue processor 222 transmits each slot value extracted in s314 to the cooperation server 250 (s315).
[0097] The linking server 250 executes a final answer acquisition process s5 for receiving text data of the final answer from the external system 300 by transmitting each of the received slot values to the external system 300. The final answer acquisition process s5 will be described later in detail.
[0098] The linking server 250 transmits the text data of the final answer received from the external system 300 to the dialogue processing unit 222 of the dialogue support device 220 (s316).
[0099] The dialogue processor 222 determines whether the number of final answers received in s316 is equal to or less than a predetermined threshold (s317). If the number of final answers is equal to or less than the predetermined threshold, the dialogue processor 222 executes the process of s318, and if the number of final answers exceeds the predetermined threshold, the dialogue processor 222 repeats the processes from s220 onwards in the additional question providing process s2 to generate a new additional question.
[0100] In s 318 , the dialogue processor 222 transmits the text data of each of the received final answers to the service controller 221 .
[0101] The service control unit 221 inputs the received text data of each final answer to the voice synthesis server 240 (s319). The voice synthesis server 240 converts the input text data of the final answer into voice data, and transmits the converted voice data to the service control unit 221 of the dialogue support device 220 (s320).
[0102] Thereafter, the service control unit 221 transmits the voice data of the final answer to the user terminal 100 via the Web server 210. This ends the final answer providing process s3.
[0103] (Initial response acquisition process s4) FIG. 10 is a sequence diagram illustrating an example of the initial response acquisition process s4.
[0104] First, the linking server 250 transmits the slot value received in s217 of the additional question providing process s2 to the external system 300 (s411). Then, the external system 300 acquires all initial answers based on the received slot value and the answer table 350 (s412).
[0105] For example, the link server 250 acquires from the answer table 350 all records 352 in which all of the slot values received in s217 are set.
[0106] The external system 300 transmits the initial response acquired in s412 to the linking server 250 (s413). This ends the initial response acquisition process s4.
[0107] (Final answer acquisition process s5) FIG. 11 is a sequence diagram illustrating an example of the final response acquisition process s5.
[0108] First, the cooperation server 250 transmits the slot value received in s315 of the final answer providing process s3 to the external system 300 (s511). Then, the external system 300 acquires all the final answers from the received slot value and the answer table 350 (s512).
[0109] For example, the link server 250 acquires from the answer table 350 all records 352 in which all of the slot values received in s315 are set.
[0110] The external system 300 transmits the final response acquired in s512 to the linking server 250 (s513). This ends the final response acquisition process s5.
[0111] <Processing of the dialogue processing section> FIG. 12 is a flow diagram illustrating the details of the processing performed by the dialogue processor 222. As shown in FIG.
[0112] In the process of s219 of the additional question process s2, the dialogue processing unit 222 of the dialogue support device 220 checks whether or not there is attribute information of the target user (s511). For example, the dialogue processing unit 222 checks whether or not information on the target user's company name is included in the company name 263 of the record related to the target user in the user information DB 260.
[0113] If attribute information for the target user exists (s511: Yes), the dialogue processing unit 222 executes the process of s512 described below, and if attribute information for the target user does not exist (s511: No), the dialogue processing unit 222 executes the process of s514 described below.
[0114] In s512, the dialogue processor 222 generates an additional question regarding the attributes. For example, the dialogue processor 222 generates a question such as "Is the company name (slot) correct as Company A (slot value)?" to inquire whether the contents of the attribute information of the target user in the user information DB 260 are correct.
[0115] Then, in s224 of the additional question generation process s2, the dialogue processor 222 generates additional questions about the attributes. An additional question is then sent to the service control unit 221 to make an additional question to the user terminal 100.
[0116] Then, in s317 of the final answer providing process s3, the dialogue processor 222 judges whether the number of final answers based on the follow-up questions is equal to or less than a predetermined threshold (s513). If the number of final answers is equal to or less than the predetermined threshold (s513: Yes), the final answer providing process s3 is terminated.
[0117] On the other hand, in s317 of the final answer providing process s3, if the number of final answers exceeds the predetermined threshold (s513: No), the dialogue processor 222 executes the process of s514 described below.
[0118] In s514, the dialogue processing unit 222 checks whether or not location information of the target user exists. For example, the dialogue processing unit 222 checks whether or not the location information of the target user is set in the location 264 of the record related to the target user in the user information DB 260.
[0119] If location information of the target user exists (s514: Yes), the dialogue processing unit 222 executes the process of s515 described below, and if location information of the target user does not exist (s514: No), the dialogue processing unit 222 executes the process of s517 described below.
[0120] In s515, the dialogue processor 222 generates an additional question regarding the location. For example, the dialogue processor 222 generates a question such as "Is the location (slot) Shinagawa (slot value) correct?", which asks whether the content of the location information of the target user in the user information DB 260 is correct.
[0121] Then, in s224 of the additional question generation process s2, the dialogue processor 222 sends an additional question about the location to the service controller 221, thereby asking the user terminal 100 an additional question.
[0122] Then, in s317 of the final answer providing process s3, the dialogue processor 222 judges whether the number of final answers based on the responses to the follow-up question is equal to or less than a predetermined threshold (s516). If the number of final answers is equal to or less than the predetermined threshold (s516: Yes), the final answer providing process s3 is terminated.
[0123] On the other hand, in s317 of the final answer providing process s3, if the number of final answers exceeds the predetermined threshold (s516: No), the dialogue processor 222 executes the process of s517 described below.
[0124] In s517, the dialogue processor 222 determines whether or not a keyword is included in the user question received in the additional question providing process s2.
[0125] For example, the dialogue processor 222 searches the thesaurus DB 280 for a record in which any of the words in the user's question is included in the representative word 281 .
[0126] If the user's question contains a key word (s517: Yes), the dialogue processor 222 performs the process of s518 described below. If the user's question does not contain a key word (s517: No), the dialogue processor 222 performs the process of s521 described below.
[0127] In s518, the dialogue processor 222 generates an additional question regarding the keyword. For example, the dialogue processor 222 generates a question such as "Is the job title (slot) 'Chief Engineer' (the slot value is a keyword) correct?", which asks whether the slot value of the target user containing the keyword is correct.
[0128] Then, in s224 of the additional question generation process s2, the dialogue processor 222 sends an additional question about the keyword to the service controller 221, thereby asking the additional question to the user terminal 100 (s518).
[0129] Thereafter, in s313 of the final answer providing process s3, the dialogue processor 222 receives a response to the additional question and determines whether or not the keyword of the received additional question is correct (s519). For example, the dialogue processor 222 determines whether or not the response to the additional question is "YES".
[0130] If the keyword of the additional question is correct (s519: YES), the dialogue processor 222 performs the process of s520 described below, and if the keyword of the additional question is incorrect (s519: NO), the dialogue processor 222 performs the process of s522 described below.
[0131] In s520, the dialogue processing unit 222 extracts slot values of all extractable slots from the additional question answer text corresponding to this additional question and the user question text, and transmits each extracted slot value to the linking server 250 (s314 of the final answer providing process s3).
[0132] At this time, for slots containing key words, the dialogue processor 222 sets the slot value as a key word or a synonym, and transmits it to the linking server 250 (s520).
[0133] Then, in s317 of the final answer providing process s3, the dialogue processor 222 judges whether the number of final answers based on the responses to the follow-up question is equal to or less than a predetermined threshold (s521). If the number of final answers is equal to or less than the predetermined threshold (s521: Yes), the final answer providing process s3 is terminated.
[0134] On the other hand, in s317 of the final answer providing process s3, if the number of final answers exceeds the predetermined threshold (s521: No), the dialogue processor 222 executes the process of s522 described below.
[0135] That is, in s225 of the additional question providing process s2, the dialogue processor 222 generates a previous question of the target user as an additional question (s522).
[0136] For example, the dialogue processor 222 generates a question similar to a past question, such as "Is XX (slot) XX (slot value) correct?".
[0137] Thereafter, in s316 of the final answer providing process s3, the dialogue processor 222 receives a final answer based on the response to the follow-up question from the linking server 250. This ends the final answer providing process s3.
[0138] In the final answer providing process s3, as explained above, if there are multiple additional questions, the service control unit 221 may send them one by one to the user terminal 100, or may send multiple additional questions together as a single sentence to the user terminal 100 (s530).
[0139] (Example of processing in the dialogue processing section) Here, FIG. 13 is a diagram for explaining an example of the process of the dialogue processing unit.
[0140] First, as shown in the answer table 350, the dialogue processor 222 searches for a large number of records of "Sato AA" with the same first and last name based on the user question, using an initial answer having only the slot value of the name. Obtain the information corresponding to No. 311 (information on a large number of "Sato AA"s).
[0141] Next, the dialogue processor 222 acquires the contents corresponding to the three records 312 of "Sato AA" with the same first name and last name, whose company name is Company A, in response to the first additional question regarding the user's attributes (company name is Company A).
[0142] Furthermore, in response to the second additional question about the user's location (located in Shinagawa), the dialogue processor 222 acquires the contents of two records 313 of "Sato AA" with the same first and last name, both located in Shinagawa.
[0143] Next, for the third additional question about the user's attributes (job title is section manager), if "section manager 281" is a key word, its synonyms such as "chief engineer 282" are searched for in the thesaurus DB 280. As a result, the dialogue processor 222 acquires content corresponding to only one record 314 of "Sato AA" with the same first and last name, in response to the third additional question about the user's attributes (job title is section manager or chief engineer).
[0144] In this way, when the initial answer received from the external system 300 to a user question does not satisfy specified requirements, the dialogue support device 220 of this embodiment receives a response to a follow-up question about the user from the user terminal 100, receives the response to the follow-up question and a final answer identified by the user question from the external system 300, and transmits the received final answer to the user terminal 100.
[0145] In other words, when the answer from the external system 300 to a user question does not satisfy the specified requirements (e.g., there are a large number of answers), the dialogue support device 220 asks the user additional questions and provides the answers to the external system 300, thereby obtaining an accurate final answer (e.g., a narrower number of answers) from the external system 300.
[0146] In this way, the dialogue supporting device 220 of this embodiment can generate an appropriate answer (final answer) even when the amount of information in the user's question is insufficient.
[0147] The present invention is not limited to the above-mentioned embodiment, and includes various modified examples. The above-mentioned embodiment has been described in detail for a better understanding of the present invention, and the present invention is not necessarily limited to the embodiment having all the configurations described.
[0148] For example, although the dialogue system 1 of the present embodiment is premised on dialogue by voice, dialogue by text without using voice may also be possible.
[0149] In the present embodiment, the company name, job title, and the like are given as examples of information on the attributes of a user, but other information may be used, such as gender, age, and the like.
[0150] The dialogue support device 220 may receive the user information when it receives the user question as in the present embodiment, or may receive the user information before it receives the user question.
[0151] In addition, in this embodiment, the dialogue support device 220 determines whether to generate an additional question based on the requirement of whether the number of initial answers exceeds a predetermined threshold, but may determine whether to generate an additional question based on other requirements. For example, the dialogue support device 220 may determine whether to generate an additional question based on requirements such as whether a predetermined word is included, or whether a predetermined number of slots or less have been identified.
[0152] Furthermore, when multiple follow-up questions can be generated, the dialogue support device 220 may predefine the types of follow-up questions to be transmitted to the user terminal 100. For example, the dialogue support device 220 may set a priority for each slot, and transmit to the user terminal 100 only the follow-up questions related to the slot with the highest priority (or a priority equal to or higher than a predetermined rank).
[0153] Furthermore, for example, when generating an additional question based on a past question, the dialogue support device 220 may select the additional question to be generated based on a predetermined algorithm. For example, the dialogue support device 220 may store combinations (past combinations) of each slot and slot value that determined a past final answer for each user, and may generate a question sentence that asks the difference between both combinations as a past question by identifying a past combination that is most similar to the combination of the initial answer of the target user.
[0154] Moreover, the key words may be set in advance by an administrator, or may be extracted from the user's question, initial answer, or final answer according to a predetermined rule (for example, a word that is used frequently is taken as a key word).
[0155] The above description of the present specification makes at least the following clear: That is, in this embodiment, in the additional question providing process, the dialogue support device 220 may generate, as an additional question about the user, a question asking about at least one of an attribute of the user, a location of the user, a predetermined word related to the user, or an additional question generated in the past, and transmit the generated additional question to the terminal, thereby receiving a response to the additional question from the terminal.
[0156] In this way, by transmitting the user's attributes, the user's location, predetermined words related to the user, or past additional questions to the user terminal 100, it is possible to prompt the user to provide an answer that further specifies the content of the response to the user's question. This makes it possible to provide the user with an accurate final answer.
[0157] In addition, in this embodiment, the dialogue support device 220 may, in the additional question providing process, determine whether or not the first answer received from the information processing system includes information about the user that has been acquired in advance, and if the first answer includes the previously acquired information, generate a question as an additional question about the user asking whether or not the previously acquired information is correct, and send the generated additional question to the terminal, and, in the final answer providing process, receive from the information processing system the previously acquired information indicated by the response and a second answer identified by the question from the terminal.
[0158] In this way, when the initial answer received from the external system 300 contains information from the user information DB 260, a follow-up question can be generated to ask whether or not the information can be used as a response to the follow-up question, thereby providing a final answer that is particularly suited to the target user.
[0159] Furthermore, in this embodiment, when the first answer received from the information processing system in the additional question providing process includes a plurality of pieces of pre-acquired information, the dialogue support device 220 may generate an additional question about the user that asks whether each of the plurality of pieces of pre-acquired information is correct, and transmit the generated additional question to the terminal. In the final answer providing process, the dialogue support device 220 may receive from the information processing system the plurality of pieces of pre-acquired information indicated by the response and a second answer identified by the question from the terminal.
[0160] In this way, when the initial response received from the external system 300 includes multiple pieces of information from the user information DB 260, the user can be asked to respond to the multiple pieces of information at once. The user can then quickly get a final answer.
[0161] Furthermore, in this embodiment, when the dialogue support device 220 determines in the additional question providing process that the first answer does not satisfy the specified requirement, it may generate a question about a specified word related to the user as an additional question about the user, and receive a response to the additional question from the terminal by sending the generated additional question to the terminal, and in the final answer providing process, receive from the information processing system the response to the additional question about the specified word, a synonym of the word, and the second answer identified by the question from the terminal.
[0162] In this way, by receiving a final answer with key words and their synonyms as slots from the external system 300, a final answer including information important to the target user can be provided to the target user.
[0163] In addition, in this embodiment, when the dialogue support device 220 determines in the additional question providing process that the first answer does not satisfy the specified requirements, it may generate an additional question about the user, inquiring about the current location of the user received from the terminal, and transmit the generated additional question to the terminal, thereby receiving a response to the additional question from the terminal.
[0164] In this way, by using a question that asks about the user's location information received from the user terminal 100 (e.g., location information from the GPS of the user terminal 100), it is possible to provide the target user with an accurate final answer (e.g., route guidance information) that corresponds to the target user's current location.
[0165] In addition, in this embodiment, if the dialogue support device 220 determines in the additional question providing process that the second answer received in the final answer providing process does not satisfy a specified requirement, it may send a new additional question about the user to the terminal.
[0166] In this way, if the final answer does not satisfy the specified requirements, a new additional question can be sent to the user terminal, thereby providing the target user with a more precise final answer with more specific content to the user question. [Explanation of symbols]
[0167] 1 dialogue system, 100 user terminal, 200 dialogue support system, 300 external system, 220 dialogue support device
Claims
1. A processor and a memory, storing a first database that stores important words and their synonyms among each word in a question or an answer, and a second database that stores information about each user that has been acquired in advance for each attribute; receiving a question from a terminal managed by a predetermined user, and transmitting the received question to a predetermined information processing system, thereby receiving a first answer specified by the question from the information processing system; an additional question providing process for determining whether or not a received first answer satisfies a predetermined requirement, and if it is determined that the first answer does not satisfy the predetermined requirement, receiving a response to the additional question from the terminal by sending an additional question about the user to the terminal, and transmitting the received response and the question received from the terminal to the information processing system; a final answer providing process of receiving the response and a second answer specified by the question from the terminal from the information processing system and transmitting the received second answer to the terminal; Run in the additional question providing process, when it is determined that the first answer does not satisfy the predetermined requirement, if the important word or a synonym thereof is included in information about the user stored in the second database, a question is generated asking whether or not an attribute value of the information is correct for the important word or a synonym thereof, and the generated additional question is transmitted to the terminal, thereby receiving a response to the additional question from the terminal; receiving, from the information processing system, the second answer specified by the important word or its synonym when a response indicating that the additional question regarding the important word or its synonym is correct in the final answer providing process; Dialogue support device.
2. In the additional question providing process, generating, as an additional question about the user, a question inquiring about at least one of an attribute of the user, a location of the user, a predetermined word related to the user, or a previously generated additional question, and transmitting the generated additional question to the terminal, thereby receiving a response to the additional question from the terminal; The dialogue support device according to claim 1 .
3. in the additional question providing process, determining whether or not the first answer received from the information processing system includes information about the user that has been acquired in advance, and if the first answer includes the information that has been acquired in advance, generating a question asking whether or not the information that has been acquired in advance is correct as an additional question about the user, and transmitting the generated additional question to the terminal; receiving, from the information processing system, the previously acquired information indicated by the response and a second answer specified by the question from the terminal in the final answer providing process; The dialogue support device according to claim 1 .
4. In the additional question providing process, if the first answer received from the information processing system includes a plurality of pieces of pre-acquired information, generate an additional question about the user, the additional question inquiring collectively as to whether each of the plurality of pieces of pre-acquired information is correct or not, and transmit the generated additional question to the terminal; receiving, from the information processing system, the plurality of pieces of information acquired in advance indicated by the response and a second answer specified by the question from the terminal in the final answer providing process; The dialogue support device according to claim 3.
5. In the additional question providing process, when it is determined that the first answer does not satisfy the predetermined requirement, generating an additional question about the user, the additional question being inquiring about the current location of the user received from the terminal, and transmitting the generated additional question to the terminal, thereby receiving a response to the additional question from the terminal. The dialogue support device according to claim 1 .
6. In the additional question providing process, if it is determined that the second answer received in the final answer providing process does not satisfy a predetermined requirement, a new additional question about the user is sent to the terminal; The dialogue support device according to claim 1 .
7. An information processing device including a processor and a memory, storing a first database that stores important words and their synonyms among each word in a question or an answer, and a second database that stores information about each user that has been acquired in advance for each attribute; receiving a question from a terminal managed by a predetermined user, and transmitting the received question to a predetermined information processing system, thereby receiving a first answer specified by the question from the information processing system; an additional question providing process for determining whether or not a received first answer satisfies a predetermined requirement, and if it is determined that the first answer does not satisfy the predetermined requirement, receiving a response to the additional question from the terminal by sending an additional question about the user to the terminal, and transmitting the received response and the question received from the terminal to the information processing system; a final answer providing process of receiving the response and a second answer specified by the question from the terminal from the information processing system and transmitting the received second answer to the terminal; Run in the additional question providing process, when it is determined that the first answer does not satisfy the predetermined requirement, if the important word or a synonym thereof is included in information about the user stored in the second database, a question is generated asking whether or not an attribute value of the information is correct for the important word or a synonym thereof, and the generated additional question is transmitted to the terminal, thereby receiving a response to the additional question from the terminal; receiving, from the information processing system, the second answer specified by the important word or its synonym when a response indicating that the additional question regarding the important word or its synonym is correct in the final answer providing process; Dialogue support methods.
Citation Information
Patent Citations
Conversation controlling method and its equipment
JP2002099404A
Apparatus and method for processing information
JP2011076360A
Information processing device, query control method, and query control program
JP2015005066A
Questioning field determination device and questioning field determination method
JP2015087796A
Image retrieval apparatus and image retrieval method
JP2018142160A
