Program, computer, system and information processing method
The program and system enhance chatbot flexibility by using user action information to generate dynamic responses through large-scale language models, addressing the limitations of pre-defined databases.
Patent Information
- Application Number
- JP2024059951
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2024-04-03
- Publication Date
- 2024-09-02
- Estimated Expiration
- 2044-04-03
AI Technical Summary
Conventional chatbots lack flexibility in their responses, as they rely on pre-defined databases of user input sentences and answers, limiting their ability to adapt to user interactions.
A program and system that utilizes a control unit to receive user action information, generate input sentences based on this information, and acquire answers from large-scale language models, allowing for dynamic and flexible responses.
Enhances the flexibility and accuracy of chatbot responses by generating input sentences based on user actions, improving interaction flexibility and adaptability.
Smart Images

Figure 0007542903000001
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a program, a computer, a system, and an information processing method related to a chatbot. [Background technology]
[0002] A chatbot is a computer program that can converse with humans in natural language, and is used in a wide range of fields, such as customer service, information search, education, and entertainment. In recent years, with the use of artificial intelligence and the like, chatbots have become able to perform more complex tasks and provide more natural and fluent experiences in dialogue with humans. Patent Document 1 discloses a method for obtaining suggested response items based on user input or events in an embedded application and providing commands accordingly. Specifically, in the method disclosed in Patent Document 1, suggested response items are displayed between user devices based on events that occur in chat or an embedded application, and commands related to the suggested response items are provided. In addition, the suggested response items are displayed in a chat interface or an embedded interface, and specific commands can be executed according to a user's selection. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Patent No. 6718028 Summary of the Invention [Problem to be solved by the invention]
[0004] Conventional chatbots could only provide answers based on a database that stored combinations of user input sentences and answers, meaning that they had limited flexibility in their answers.
[0005] The present disclosure has been made in consideration of these points, and aims to provide a program, computer, system, and information processing method that can increase the flexibility of responses by creating input sentences based on information corresponding to the user's actions. [Means for solving the problem]
[0006] A program according to the present disclosure causes a control unit of a computer to function as a receiving unit, an input sentence generating unit, an answer acquiring unit, and a sending unit, the receiving means receives action information regarding an action performed by a user on an application screen displayed on a user terminal and a chatbot screen that is a screen for operating a chatbot and is different from the application screen, and the input sentence generation means generates an input sentence corresponding to the action based on the action information accepted by the acceptance means; the answer acquisition means acquires information of an answer to the input sentence generated by the input sentence generation means, The transmitting means is characterized in that it transmits display information for displaying the answer acquired by the answer acquiring means on the chatbot screen to the user terminal.
[0007] In the program of the present disclosure, The answer acquisition means may acquire information about the answer by transmitting the input sentence generated by the input sentence generation means to a large-scale language model and receiving from the large-scale language model the answer to the input sentence calculated by the large-scale language model.
[0008] In addition, when an input indicating consent to the use of the chatbot is made in the user terminal, an action detection program that detects the action performed by the user in the user terminal is executed in the user terminal, The action information regarding the action performed by a user on the application screen, detected by the action detection program, may be transmitted from the user terminal to the computer.
[0009] Further, the action is an action in which the user selects an image displayed on the application screen and drops it onto the chatbot screen, The input sentence generation means may, when detecting the dropping action, obtain a base answer to a pre-input sentence generated based on the dropped image and the action information, and generate the input sentence based on the base answer and the action information.
[0010] In addition, the input sentence generation means may, when detecting the dropping action, transmit the pre-input sentence generated based on the dropped image and the action information to a first database server, and acquire information on the base answer by accepting from the first database server the base answer to the pre-input sentence extracted by the first database server.
[0011] Further, the transmission means transmits to the user terminal an instruction for requesting approval of the base answer acquired by the input sentence generation means, The input sentence generating means may, when receiving information regarding approval of the base answer from the user terminal, generate the input sentence based on the base answer for which approval has been obtained and the action information.
[0012] The input sentence generating means may further acquire specification information of the user terminal, and generate the input sentence by referring to the specification information in addition to the base answer and the action information.
[0013] Furthermore, the action is an action in which the user accesses a second database server that stores information displayed on the application screen, The input sentence generation means may acquire the action information regarding the action to be accessed and information stored in the second database server to be accessed based on the content input by the user on the chatbot screen, and generate the input sentence based on the content input by the user, the action information, and the information stored in the second database server to be accessed.
[0014] Also, the type of the database to be accessed from among a plurality of types of the databases may be determined according to the type of the action.
[0015] The control unit further functions as a user information acquisition unit, the user information acquisition means acquires information about the user from the user terminal; The input sentence generating means may generate the input sentence according to the action by referring to information about the user acquired by the user information acquiring means, in addition to the action information accepted by the accepting means.
[0016] In addition, the answer acquisition means may transmit the input sentence generated by the input sentence generation means to a third database server in which data of the set input sentence and the set answer are associated and stored, and acquire information on the answer by accepting from the third database server the answer corresponding to the input sentence extracted based on the data of the set input sentence and the set answer stored in the third database server.
[0017] The computer further includes a storage unit in which data of the input sentence and the answer are stored in association with each other, The answer acquiring means may acquire information on the answer corresponding to the input sentence based on data of the set input sentence and the set answer stored in the storage unit.
[0018] The control unit further functions as a learning unit, the learning means transmits an instruction to an administrator terminal to inquire about the content of the input sentence corresponding to the content of the action in the action information received by the receiving means, and performs learning by associating the content of the input sentence received from the administrator terminal with the content of the action; When the accepting means accepts the action information, the input sentence generating means may generate the input sentence corresponding to the action based on the content of the learning performed by the learning means.
[0019] In addition, the input sentence generation means may generate a plurality of the input sentences in response to the action, and display the generated plurality of input sentences on the user terminal, thereby making it possible to select one of the plurality of input sentences or to create a new input sentence on the user terminal.
[0020] A program according to the present disclosure causes a control unit of a computer to function as a receiving unit, an input sentence generating unit, an answer acquiring unit, and a sending unit, the accepting means accepts action information relating to an action performed by a user at a user terminal; the input sentence generation means generates an input sentence corresponding to the action based on the action information accepted by the acceptance means; the answer acquisition means acquires information of an answer to the input sentence generated by the input sentence generation means, the transmission means transmits to the user terminal display information for displaying the answer acquired by the answer acquisition means on a chatbot screen; When an input indicating consent to the use of the chatbot is made in the user terminal, an action detection program is executed in the user terminal, the action detection program detecting an action other than the input to the chatbot made by a user in the user terminal, The present invention is characterized in that the action information regarding actions other than input to the chatbot made by a user, detected by the action detection program, is transmitted from the user terminal to the computer.
[0021] The computer of the present disclosure is a computer in which a control unit functions as a receiving unit, an input sentence generating unit, an answer acquiring unit, and a sending unit by executing a program, the receiving means receives action information regarding an action performed by a user on an application screen displayed on a user terminal and a chatbot screen that is a screen for operating a chatbot and is different from the application screen, and the input sentence generation means generates an input sentence corresponding to the action based on the action information accepted by the acceptance means; the answer acquisition means acquires information of an answer to the input sentence generated by the input sentence generation means, The transmitting means is characterized in that it transmits display information for displaying the answer acquired by the answer acquiring means on the chatbot screen to the user terminal.
[0022] The computer of the present disclosure is a computer in which a control unit functions as a receiving unit, an input sentence generating unit, an answer acquiring unit, and a sending unit by executing a program, the accepting means accepts action information relating to an action performed by a user at a user terminal; the input sentence generation means generates an input sentence corresponding to the action based on the action information accepted by the acceptance means; the answer acquisition means acquires information of an answer to the input sentence generated by the input sentence generation means, the transmission means transmits to the user terminal display information for displaying the answer acquired by the answer acquisition means on a chatbot screen; When an input indicating consent to the use of the chatbot is made in the user terminal, an action detection program is executed in the user terminal, the action detection program detecting an action other than the input to the chatbot made by a user in the user terminal, The present invention is characterized in that the action information regarding actions other than input to the chatbot made by a user, detected by the action detection program, is transmitted from the user terminal to the computer.
[0023] The system of the present disclosure comprises: a web server for displaying a website on a user terminal; A computer in which a control unit functions as a receiving means, an input sentence generating means, an answer acquiring means, and a sending means by executing a program; A system comprising: the receiving means receives action information regarding an action performed by a user on an application screen of the website displayed on the user terminal and a chatbot screen that is a screen for operating a chatbot and is different from the application screen, and the input sentence generation means generates an input sentence corresponding to the action based on the action information accepted by the acceptance means; the answer acquisition means acquires information of an answer to the input sentence generated by the input sentence generation means, The transmitting means is characterized in that it transmits display information for displaying the answer acquired by the answer acquiring means on the chatbot screen to the user terminal.
[0024] The system of the present disclosure comprises: a web server for displaying a website on a user terminal; A computer in which a control unit functions as a receiving means, an input sentence generating means, an answer acquiring means, and a sending means by executing a program; A system comprising: the accepting means accepts action information regarding an action taken on the website by a user at the user terminal; the input sentence generation means generates an input sentence corresponding to the action based on the action information accepted by the acceptance means; the answer acquisition means acquires information of an answer to the input sentence generated by the input sentence generation means, the transmission means transmits to the user terminal display information for displaying the answer acquired by the answer acquisition means on a chatbot screen; When an input indicating consent to the use of the chatbot is made in the user terminal, an action detection program is executed in the user terminal, the action detection program detecting an action other than the input to the chatbot made by a user in the user terminal, The present invention is characterized in that the action information regarding actions other than input to the chatbot made by a user, detected by the action detection program, is transmitted from the user terminal to the computer.
[0025] The information processing method of the present disclosure includes: An information processing method executed by a computer having a control unit, The control unit receives action information regarding an action performed by a user on an application screen displayed on a user terminal, the application screen being a screen for operating a chatbot and different from the application screen; generating an input sentence corresponding to the action based on the received action information by the control unit; the control unit acquiring information of a generated answer to the input sentence; a step of the control unit transmitting information of the acquired answer to the user terminal; The present invention is characterized by comprising:
[0026] The information processing method of the present disclosure includes: An information processing method executed by a computer having a control unit, receiving action information relating to an action performed by a user on a user terminal by the control unit; generating an input sentence corresponding to the action based on the received action information by the control unit; the control unit acquiring information of a generated answer to the input sentence; The control unit transmits, to the user terminal, display information for displaying the acquired answer on a chatbot screen; Equipped with When an input indicating consent to the use of the chatbot is made in the user terminal, an action detection program is executed in the user terminal, the action detection program detecting an action other than the input to the chatbot made by a user in the user terminal, The present invention is characterized in that the action information regarding actions other than input to the chatbot made by a user, detected by the action detection program, is transmitted from the user terminal to the computer. Effect of the Invention
[0027] According to the program, computer, system, and information processing method disclosed herein, the flexibility of responses can be increased by creating an input sentence based on information corresponding to a user's action. [Brief description of the drawings]
[0028] [Figure 1] FIG. 1 is a block diagram showing a configuration of a system according to an embodiment of the present disclosure. [Diagram 2] 2 is a block diagram showing a configuration of a user terminal in the system shown in FIG. 1. [Diagram 3] 2 is a block diagram showing a configuration of a tag management server in the system shown in FIG. 1. [Figure 4]2 is a block diagram showing a configuration of a web server in the system shown in FIG. 1. [Diagram 5] 2 is a block diagram showing a configuration of a second database server in the system shown in FIG. 1. [Figure 6] 2 is a block diagram showing the configuration of a chat server in the system shown in FIG. 1. [Figure 7] 2 is a block diagram showing a configuration of a language model server in the system shown in FIG. 1. [Figure 8] 2 is a block diagram showing a configuration of a first database server in the system shown in FIG. 1. [Figure 9] FIG. 2 is a chart showing the flow of information between the components in the system shown in FIG. 1 when a user agrees to use a chatbot on a user terminal. [Figure 10] 2 is a chart showing the flow of information between components in the system shown in FIG. 1 when an action is detected at a user terminal. [Figure 11] 4 is a flowchart showing the operation of a chat server in the system shown in FIG. [Figure 12] 2 is a diagram showing the contents of a screen displayed on a display unit of a user terminal in the system shown in FIG. 1. [Figure 13] 2 is a diagram showing the contents of a screen displayed on a display unit of a user terminal in the system shown in FIG. 1. [Figure 14] 2 is a diagram showing the contents of a screen displayed on a display unit of a user terminal in the system shown in FIG. 1. [Figure 15] 2 is a diagram showing the contents of a screen displayed on a display unit of a user terminal in the system shown in FIG. 1. [Figure 16] 2 is a diagram showing the contents of a screen displayed on a display unit of a user terminal in the system shown in FIG. 1. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0029] Hereinafter, an embodiment of the present disclosure will be described with reference to the drawings. Figures 1 to 11 are diagrams showing a system 1 according to the present embodiment and each component of the system 1. Also, Figures 12 to 16 are diagrams showing the contents of a screen displayed on a display unit of a user terminal in the system shown in Figure 1.
[0030] [Overall configuration of System 1] As shown in FIG. 1, the system 1 of the present embodiment includes a tag management server 20, a web server 30, a second database server 40, a chat server 50, a language model server 60 (large-scale language model), a first database server 70, an administrator terminal 80, and a third database server 90. The system 1 of the present embodiment allows a user to use a chatbot in a browser on a user terminal 10 such as a personal computer, a PC tablet, or a smartphone owned by a user. The tag management server 20 is communicatively connected to the user terminal 10 via a communication network such as the Internet line. The web server 30 is communicatively connected to each of the user terminal 10 and the second database server 40 via a communication network such as the Internet line. The chat server 50 is communicatively connected to each of the user terminal 10, the language model server 60, the first database server 70, the administrator terminal 80, and the third database server 90 via a communication network such as the Internet line. Each component of the system 1 and the user terminal 10 will be described in detail below.
[0031] [Configuration of user terminal 10] The configuration of the user terminal 10 will be described with reference to Fig. 2. As described above, the user terminal 10 includes, but is not limited to, a personal computer, a PC tablet, a smartphone, and the like. As shown in Fig. 2, the user terminal 10 has a control unit 11, a display unit 13, an operation unit 14, an imaging unit 15, a microphone 16, a storage unit 18, and a communication unit 19. The control unit 11 is connected to each of the display unit 13, the operation unit 14, the imaging unit 15, the microphone 16, the storage unit 18, and the communication unit 19 via a bus 11a.
[0032] The control unit 11 is composed of a microcomputer including a CPU and a semiconductor memory, and controls the operation of the user terminal 10 by executing a program stored in the storage unit 18. The display unit 13 is composed of, for example, a liquid crystal display, and functions as a means for displaying various information. The display unit 13 displays various information upon receiving instructions from the control unit 11. The operation unit 14 functions as a means for inputting various instructions by the user. For example, a keyboard, a mouse, a touch panel, etc. are used as the operation unit 14. When the operation unit 14 is a touch panel, such a touch panel is superimposed on the display unit 13, and an operation signal is input to the control unit 11 when the user touches the touch panel.
[0033] The imaging unit 15 is, for example, a camera, and captures an image or video by capturing an image of an object. The microphone 16 converts a voice emitted by a user or sound waves in the air around the user terminal 10 into an electric signal. The storage unit 18 is composed of a hard disk drive (HDD), a random access memory (RAM), a read only memory (ROM), a solid state drive (SSD), or the like. The storage unit 18 stores a program executed by the control unit 11. The storage unit 18 also stores information input by a user through the operation unit 14, images and videos captured by the imaging unit 15, electric signals converted from sound waves by the microphone 16, and the like. The communication unit 19 includes a communication interface that transmits and receives various data between the control unit 11 and external devices such as the tag management server 20, the web server 30, and the chat server 50 via a communication network.
[0034] [Configuration of tag management server 20] The configuration of the tag management server 20 will be described with reference to FIG. 3. The tag management server 20 is a platform that can manage tags of a website without directly writing code by combining predetermined commands, and can cause the user terminal 10 to execute JavaScript as an action detection program. Specifically, by inserting a code written to access the tag management server 20 into a website displayed on the display unit 13 of the user terminal 10, action detection and chatbot execution via the tag management server 20 are possible. For example, JavaScript as an action detection program acquired from the tag management server 20 is executed in the user terminal 10, so that a specific action in the user terminal 10 is detected, and the detected action information is transmitted to the chat server 50. Note that the action detection program such as JavaScript executed by the user terminal 10 detects actions other than input to the chatbot by the user in the user terminal 10. As shown in FIG. 3, the tag management server 20 has a control unit 21, a storage unit 28, and a communication unit 29. The control unit 21 is connected to each of the storage unit 28 and the communication unit 29 by a bus 21a.
[0035] The control unit 21 is configured by a computer including a CPU and a semiconductor memory, and controls the operation of the tag management server 20 by executing a program stored in the storage unit 28. Specifically, the control unit 21 functions as a reception means 22 and a transmission means 23 by executing a program stored in the storage unit 28. When the reception means 22 receives an access from the user terminal 10, the transmission means 23 transmits tag information to the user terminal 10 that is the source of the access information.
[0036] The storage unit 28 is composed of a HDD, a RAM, a ROM, an SSD, etc. The storage unit 28 stores a program executed by the control unit 21. The storage unit 28 also stores tag information to be transmitted to the user terminal 10.
[0037] The communication unit 29 includes a communication interface that transmits and receives various data between the control unit 21 and the user terminal 10 via a communication network.
[0038] [Configuration of Web Server 30] The configuration of the web server 30 will be described with reference to FIG. 4. The web server 30 is managed by a business (client) that sells products and provides services to users, and displays websites for selling products and providing services on a browser or the like displayed on the display unit 13 of the user terminal 10. Websites displayed on the display unit 13 of the user terminal 10 by the web server 30 include various sites such as an EC site and a reservation site for accommodation facilities. When a chatbot is executed on a website, the display unit 13 of the user terminal 10 that is accessing the website includes an application screen and a chatbot screen that is a screen for operating the chatbot and is different from the application screen. The application screen refers to a display area in which content different from the chatbot of the website accessed by the user is displayed. The chatbot screen refers to a display area in which a chatbot is displayed on the website. The chatbot screen may be displayed on the website or may be displayed on a site other than the website. Specifically, the window displaying the website may have both an application display area and a chatbot display area, or two windows may be displayed on the display unit 13: a window displaying the application screen and a window displaying the chatbot screen.
[0039] As shown in FIG. 4, the web server 30 has a control unit 31, a storage unit 38, and a communication unit 39. The control unit 31 is connected to each of the storage unit 38 and the communication unit 39 by a bus 31a. The control unit 31 is composed of a microcomputer including a CPU and a semiconductor memory, and controls the operation of the web server 30 by executing a program stored in the storage unit 38. Specifically, the control unit 31 functions as a reception means 32 and a transmission means 33 by executing a program stored in the storage unit 38. When the reception means 32 receives URL information from the user terminal 10, the transmission means 33 transmits to the user terminal 10 a display instruction for a website corresponding to the URL information received by the reception means 32 and stored in the storage unit 38. As a result, the website is displayed on a browser or the like displayed on the display unit 13 of the user terminal 10. In addition, when a user inputs consent to the use of the chatbot in the user terminal 10, the reception means 32 receives consent information from the user terminal 10. The consent information is information indicating that the user has consented. When the receiving means 32 receives the consent information, the transmitting means 33 transmits to the user terminal 10 an instruction to display a chatbot screen and an instruction to access the tag management server 20. As a result, the chatbot screen is displayed on the website displayed on the display unit 13 of the user terminal 10. In addition, when the receiving means 32 receives login information from the user terminal 10, it transmits access information to the second database server 40.
[0040] The storage unit 38 is composed of a HDD, RAM, ROM, SSD, etc. The storage unit 38 stores a program executed by the control unit 31. The storage unit 38 also stores various website information (specifically, HTML information that constructs the website, etc.) in association with URL information.
[0041] The communication unit 39 includes a communication interface that transmits and receives various data between the control unit 31, the user terminal 10, and the second database server 40 via a communication network.
[0042] [Configuration of the second database server 40] The configuration of the second database server 40 will be described with reference to FIG. 5. The second database server 40 is managed by the client, and stores a member database, product information, service information, etc. related to the client's web server. The member database, product information, service information, etc. stored in the second database server 40 are linked to each website. For example, when the website displayed on the display unit 13 of the user terminal 10 by the web server 30 is an EC site, the name, address, telephone number, past product purchase history, browsing history of the EC site, etc. of the user of the EC site are used as the member database. Also, when the website displayed on the display unit 13 of the user terminal 10 by the web server 30 is an EC site, the name, specification information, selling price, past sales quantity, etc. of the product sold on the EC site are used as the product information. Also, when the website displayed on the display unit 13 of the user terminal 10 by the web server 30 is an accommodation reservation site, the name, address, telephone number, past accommodation use history, browsing history of the accommodation reservation site, etc. of the user of the accommodation reservation site are used as the member database. In addition, when the website displayed on the display unit 13 of the user terminal 10 by the web server 30 is a reservation site for accommodation facilities, the name, address, URL of the website of the accommodation facility, accommodation price, etc. of the accommodation facilities that can be reserved on the reservation site are used as the service information. In addition, although only one second database server 40 is illustrated in FIG. 1, multiple types of second database servers 40 may be connected to the web server 30 so as to be able to communicate with each other, and the type of second database server 40 to be accessed from the multiple types of second database servers 40 may be determined according to the type of user action described later. As shown in FIG. 5, the second database server 40 has a control unit 41, a storage unit 48, and a communication unit 49. The control unit 41 is connected to each of the storage unit 48 and the communication unit 49 by a bus 41a.
[0043] The control unit 41 is composed of a microcomputer including a CPU and a semiconductor memory, and controls the operation of the second database server 40 by executing a program stored in the storage unit 48. Specifically, the control unit 41 functions as a reception means 42 and a transmission means 43 by executing a program stored in the storage unit 48. When the reception means 42 receives access information from the web server 30, the transmission means 43 transmits the user's personal information, product information, service information, etc. to the web server 30 based on the member database, product information, service information, etc. stored in the storage unit 48.
[0044] The storage unit 48 is composed of a HDD, RAM, ROM, SSD, etc. The storage unit 48 stores a program executed by the control unit 41. The storage unit 48 also stores a member database, product information, service information, etc., linked to each website.
[0045] The communication unit 49 includes a communication interface for transmitting and receiving various data between the control unit 41 and the web server 30 via a communication network.
[0046] [Configuration of chat server 50] The configuration of chat server 50 will be described with reference to Fig. 6. Chat server 50 is managed by a business (administrator) that provides chatbot services, and manages chatbots on a website displayed on display unit 13 of user terminal 10. As shown in Fig. 6, chat server 50 has a control unit 51, a storage unit 58, and a communication unit 59. Control unit 51 is connected to each of storage unit 58 and communication unit 59 via bus 51a.
[0047] The control unit 51 is composed of a microcomputer including a CPU and a semiconductor memory, and controls the operation of the chat server 50 by executing a program stored in the storage unit 58. Specifically, the control unit 51 functions as a reception means 52, a user information acquisition means 53, an input sentence generation means 54, a response acquisition means 55, and a transmission means 56 by executing a program stored in the storage unit 58. The reception means 52 receives action information and the like from the user terminal 10. The user information acquisition means 53 acquires information about the user from the user terminal 10. The input sentence generation means 54 generates an input sentence according to the action based on the action information and the like accepted by the reception means 52. The response acquisition means 55 acquires information on a response to the input sentence generated by the input sentence generation means 54. The transmission means 56 transmits display information for displaying the response acquired by the response acquisition means 55 on the chatbot screen to the user terminal 10. Details of the functions of each of these means 52, 53, 54, 55, and 56 will be described later.
[0048] The storage unit 58 is configured with a HDD, a RAM, a ROM, an SSD, etc. In the storage unit 58, a program executed by the control unit 51 is stored.
[0049] The communication unit 59 includes a communication interface that transmits and receives various data between the control unit 51 and each of the user terminal 10, the language model server 60, the first database server 70, the administrator terminal 80 and the third database server 90 via a communication network.
[0050] [Configuration of the language model server 60] The configuration of the language model server 60 will be described with reference to FIG. 7. The language model server 60 is a server designed to generate a response to a request from the chat server 50 at high speed using, for example, a large-scale language model (LLM). The large-scale language model is a machine learning model for natural language processing, and has a function of generating sentences based on input information. For example, the large-scale language model is a machine learning model based on a Transformer model having a self-attention mechanism. The Transformer model is, for example, a GPT (Generative Pre-trained Transformer) model. The large-scale language model performs learning using a large-scale data set, thereby enabling general-purpose sentence generation tasks. For example, the large-scale language model may be a model trained using a large-scale data set using the GPT-3 or GPT-4 algorithm developed by OpenAI (registered trademark) (for example, a GPT model generated by combining learning using a large-scale data set and reinforcement learning using a reward prediction model). The language model server 60 hosts a model, calls the model in response to a request, and returns the result. In addition, the language model server 60 is designed to be able to reuse a model that has been trained once. As shown in Fig. 7, the language model server 60 has a control unit 61, a storage unit 68, and a communication unit 69. The control unit 61 is connected to each of the storage unit 68 and the communication unit 69 via a bus 61a. The language model server 60 is also designed to vectorize an input sentence using a vector conversion model and output a vector value. The vector conversion model is a machine learning model that converts an input sentence into coordinate information in multiple dimensions (for example, 1536 dimensions) based on parameters generated by learning. For example, the vector conversion model is an embedding API model developed by OpenAI (registered trademark).
[0051] The control unit 61 is composed of a microcomputer including a CPU and a semiconductor memory, and controls the operation of the language model server 60 by executing a program stored in the storage unit 68. Specifically, the control unit 61 functions as a reception means 62, a response generation unit 63, and a transmission means 64 by executing a program stored in the storage unit 68. When the reception means 62 receives an input sentence from the chat server 50, the response generation unit 63 generates a response using, for example, OpenAI (registered trademark), and the transmission means 64 transmits the generated response to the chat server 50.
[0052] The storage unit 68 is composed of a HDD, a RAM, a ROM, an SSD, etc. The storage unit 68 stores a program executed by the control unit 61. The storage unit 68 also stores a huge amount of learned data.
[0053] The communication unit 69 includes a communication interface for transmitting and receiving various data between the control unit 61 and the chat server 50 via a communication network.
[0054] [Configuration of the first database server 70] The configuration of the first database server 70 will be described with reference to FIG. 8. The first database server 70 is managed by a business (administrator) that provides chatbot services, and stores vector values vectorized by the language model server 60. The vector value refers to coordinate information in multiple dimensions (for example, 1536 dimensions). For example, the vector value is a feature value that indicates the magnitude and direction in multiple dimensions. As shown in FIG. 8, the first database server 70 has a control unit 71, a storage unit 78, and a communication unit 79. The control unit 71 is connected to each of the storage unit 78 and the communication unit 79 by a bus 71a. For example, the vector value stored in the first database server 70 is a value obtained by converting a previously prepared expected question into a vector value by the language model server 60. In addition, the first database server 70 stores the expected question converted into a vector value and a base answer that is an expected answer to the expected question as a pair. The vector value stored in the first database server 70 may be a vector value vectorized by an information processing device other than the language model server 70.
[0055] The control unit 71 is composed of a computer including a CPU and a semiconductor memory, and controls the operation of the first database server 70 by executing a program stored in the storage unit 78. Specifically, the control unit 71 functions as a reception means 72 and a transmission means 73 by executing a program stored in the storage unit 78. When the reception means 72 receives a vector search request from the chat server 50, the transmission means 73 transmits a base answer corresponding to an approximation of the vector value to the chat server 50 based on the vector value stored in the storage unit 78. Here, the vector search is a process of calculating the distance between information held by the vectors to calculate the approximation. For example, the vector search is a process of determining the cosine similarity between the vector value of the search target included in the vector search request and a plurality of stored vector values, and transmitting the base answer that is a pair of vector values with the highest cosine similarity to the chat server 50 as a search result.
[0056] The storage unit 78 is composed of a HDD, RAM, ROM, SSD, etc. The storage unit 78 stores a program executed by the control unit 71. The storage unit 78 also stores a base answer and a vector value in an associated state.
[0057] The communication unit 79 includes a communication interface for transmitting and receiving various data between the control unit 71 and the chat server 50 via a communication network.
[0058] The configurations of the administrator terminal 80 and the third database server 90 will be described in detail later.
[0059] [System 1 operation] Next, the operation of the system 1 according to this embodiment will be described with reference to Figs. 9 to 16. Fig. 9 is a chart showing the flow of information between the components when a user agrees to use a chatbot on the user terminal 10 in the system 1 shown in Fig. 1, and Fig. 10 is a chart showing the flow of information between the components when an action is detected on the user terminal 10 in the system 1 shown in Fig. 1. Fig. 11 is a flowchart showing the operation of the chat server 50 in the system 1 shown in Fig. 1. Figs. 12 to 16 are diagrams showing the contents of the screen displayed on the display unit 13 of the user terminal 10 in the system 1 shown in Fig. 1, respectively.
[0060] First, the flow of information between the components of the system 1 shown in FIG. 1 when a user agrees to use a chatbot on the user terminal 10 will be described with reference to FIG.
[0061] When a user accesses a specific website using a browser or the like displayed on the display unit 13 of the user terminal 10, the reception means 32 of the web server 30 receives URL information of the specific website from the user terminal 10, and the transmission means 33 transmits to the user terminal 10 a display instruction for the website corresponding to the URL information received by the reception means 32, which is stored in the storage unit 38. As a result, the specific website is displayed on the browser or the like displayed on the display unit 13 of the user terminal 10. Also, when the user agrees to use the chatbot on this website, the consent information is transmitted from the user terminal 10 to the web server 30. When the reception means 32 of the web server 30 receives the consent information from the user terminal 10, the transmission means 33 transmits to the user terminal 10 a display instruction for a chatbot screen and an access command to the tag management server 20. As a result, the chatbot screen is displayed on the website displayed on the display unit 13 of the user terminal 10. If the user does not agree to use the chatbot on the website displayed on the display unit 13 of the user terminal 10, the chatbot screen is not displayed on the website. In addition, an access command to the tag management server 20 is transmitted to the user terminal 10, whereby the user terminal 10 accesses the tag management server 20. When the reception means 22 of the tag management server 20 receives the access from the user terminal 10, the transmission means 23 transmits tag information (e.g., information including an action detection program) to the user terminal 10 that is the transmission source of the access information. Then, when the tag information transmitted from the tag management server 20 to the user terminal 10 is read by the user terminal 10, communication between the user terminal 10 and the chat server 50 becomes possible. Specifically, javascript is executed as an action detection program acquired from the tag management server 20 by the user terminal 10, whereby a specific action in the user terminal 10 is detected, and the detected action information is transmitted to the chat server 50. In addition, the chatbot displayed on the website is executed.
[0062] When a user logs in to My Page by, for example, inputting a login ID and password on a specific website displayed on the display unit 13 of the user terminal 10, the login information is transmitted from the user terminal 10 to the web server 30, and the user is able to access My Page. When the reception means 32 of the web server 30 receives the login information, the transmission means 33 transmits access information to the second database server 40, thereby enabling the user to access the member database, product information, service information, etc. linked to the website in the second database server 40. In this way, when the web server 30 acquires the user's personal information, product information, and service information from the second database server 40, the information is encrypted with a public key issued by the business operator (administrator) that provides the chatbot service. The user's personal information, product information, etc. encrypted by the web server 30 are transmitted to the user terminal 10. The operation of encrypting the user's personal information, product information, service information, etc. acquired from the second database server 40 by the web server 30 and transmitting it to the user terminal 10 as described above may be performed when a user action described later is detected, or may be performed in advance before the action is detected. If the operation is performed in advance before the action is detected, there is an advantage that a series of processes can be performed quickly, but there is also a problem that the capacity of the storage unit 18 of the user terminal 10 must be increased because the encrypted user's personal information, product information, etc. must be stored in the storage unit 18 of the user terminal 10.
[0063] Next, the flow of information between the components and the operation of the chat server 50 when an action is detected by the user terminal 10 in the system 1 shown in FIG. 1 will be described with reference to FIG. 10 and FIG.
[0064] When a specific action is performed by a user on a website displayed on the display unit 13 of the user terminal 10, the specific action on the user terminal 10 is detected by JavaScript, which is provided by the tag management server 20 and executed on the user terminal 10 as an action detection program, and the detected action information is transmitted to the chat server 50. Here, the specific action includes an action of selecting a specific character, image, or video on the website displayed on the user terminal 10, an action of selecting a specific image on the website displayed on the user terminal 10 and dropping it on the chatbot screen, an action of accessing a database that stores information displayed on the application screen, an action of scrolling a website on the browser, an action of transitioning from one website to another website on the browser, and the like. The action of selecting an image or video also includes the act of placing a pointer on an image or video. In addition, the user's actions detected by JavaScript include a first action that is detected even if the user does not input any question or the like on the chatbot screen, and a second action that is detected by the user inputting a question or the like on the chatbot screen after the user performs a predetermined operation. Details of such first and second actions will be described later. Note that the user actions detected by JavaScript are not limited to those described above, but include various actions other than those described above. When a user action is detected by JavaScript, the action information, the user's personal information, product information, etc. encrypted by the web server 30 are sent to the chat server 50.
[0065] When the user terminal 10 and the chat server 50 are in a communicable state ("YES" in step S1 of FIG. 11), the accepting means 52 of the chat server 50 accepts action information, etc. ("YES" in step S2 of FIG. 11), a pre-input sentence is generated based on the accepted action information, etc., and predetermined pre-input generation information, and the transmitting means 56 of the chat server 50 transmits an instruction to the language model server 60 to vectorize the pre-input sentence (step S3 of FIG. 11). When the accepting means 62 of the language model server 60 accepts the instruction, the answer generating unit 63 obtains a vector value by vectorizing the pre-input sentence. The transmitting means 64 of the language model server 60 transmits the vector information (specifically, the vector value) generated by the answer generating unit 63 to the chat server 50. As a result, when the reception means 52 of the chat server 50 receives the vector information (step S4 in FIG. 11), the transmission means 56 transmits a vector search request to the first database server 70 to search the first database server 70 for a vector value that is approximate to the vector value of the pre-input sentence generated by the language model server 60 (step S5 in FIG. 11). When the reception means 72 of the first database server 70 receives the vector search request from the chat server 50, it extracts vector values that are approximate to the vector value in the received vector search request from the vector values stored in the storage unit 78, and the transmission means 73 of the first database server 70 transmits a base answer corresponding to this approximate value to the chat server 50. As a result, the reception means 52 of the chat server 50 receives a base answer that is approximate to the vector value transmitted from the language model server 60 from the first database server 70 (step S6 in FIG. 11). As another embodiment, the control unit 51 of the chat server 50 may determine information necessary for a base answer based on predetermined pre-input generation information from the user's actions detected by JavaScript and the contents of the question entered by the user on the chatbot screen, and may request and acquire information necessary for the base answer (encrypted personal information of the user, product information, etc.) from the user terminal 10. The pre-input generation information is information including rules, etc. necessary for generating a pre-input sentence based on the accepted action.For example, the pre-input generation information is a rule that, when the received action is "an action in which a user selects an image displayed on an application screen and drops the image on a chatbot screen," a predetermined sentence such as "Please tell me the information on {image}" is read from the action content, and metadata of the dropped image (e.g., part name A) is obtained and combined with the sentence to generate a pre-input sentence such as "Please tell me the information on part name A." The information may be a rule-based model or a machine learning model. For example, a rule that "The action of dropping an image is determined to mean that the user wants to know the information on the image" may be stored in a large-scale language model in advance, and a rule that "Action content (a user has performed an action to drop an image), the metadata of the image dropped on the action content is "part name A". Generate an expected question for the user" may be input to the large-scale language model to generate a pre-input sentence.
[0066] In addition, in the chat server 50, the control unit 51 decrypts the encrypted information with an encryption key issued by a business (administrator) that provides the chatbot service (step S7 in FIG. 11). In this way, the user information acquisition means 53 acquires the personal information of the user. Note that information such as the specifications of the user terminal 10 itself may be acquired by JavaScript executed in the user terminal 10, and the acquired information may be transmitted from the user terminal 10 to the chat server 50 by JavaScript, so that the user information acquisition means 53 acquires information such as the specifications of the user terminal 10 itself. Then, the input sentence generation means 54 generates an input sentence to the language model server 60 based on the acquired base answer, action information, and decrypted information (step S8 in FIG. 11). The transmission means 56 transmits the input sentence generated by the input sentence generation means 54 to the language model server 60 (step S9 in FIG. 11). When the receiving means 62 of the language model server 60 receives an input sentence, the answer generating unit 63 generates an answer corresponding to the input sentence, and the transmitting means 64 transmits the answer generated by the answer generating unit 63 to the chat server 50. When the receiving means 52 receives an answer from the language model server 60 in this manner, the answer acquiring means 55 acquires the answer by the language model server 60 corresponding to the input sentence generated by the input sentence generating means 54 (step S10 in FIG. 11). Then, the transmitting means 56 of the chat server 50 transmits a display instruction for the answer information generated by the language model server 60 to the user terminal 10 (step S11 in FIG. 11). As a result, the answer generated by the language model server 60 is displayed on the chatbot screen of the website displayed on the display unit 13 of the user terminal 10.
[0067] A specific example of the operation of the system 1 will be described in more detail with reference to the display screens of the display unit 13 of the user terminal 10 shown in FIGS.
[0068] First, an example of a first action detected by JavaScript even if the user does not input any questions or the like on the chatbot screen will be described. FIG. 12 is a diagram showing a display screen when an EC site for users to purchase electrical appliances and their parts is displayed on the display unit 13 of the user terminal 10 as a website provided by the web server 30. The left area 13a of such a display screen is an application screen on which the names, model numbers, images 13c, specifications, etc. of purchasable electrical appliances and their parts are displayed, and the right area 13b of the display screen shown in FIG. 12 is a chatbot screen. As described above, such a chatbot screen is not displayed on the website displayed on the display unit 13 of the user terminal 10 if the user does not agree to use the chatbot. If the user does not agree to use the chatbot, the action performed by the user is not detected, and the chatbot is activated to answer the user's questions input by the user terminal 50 based only on information stored in the first database server 70 and the third database server 90 described later (i.e., to answer without using information stored in the second database server 40). When the chatbot screen is displayed on the website, the user can input a question into the chatbot screen through the operation unit 14. For example, when the user inputs a question into the chatbot screen through the operation unit 14, which asks for detailed information about an electrical appliance or its parts displayed on the application screen, an answer to the input question is displayed on the chatbot screen. When a user logs into My Page on a website such as that shown in FIG. 12, the user's personal information, product information, etc. are encrypted by the web server 30, and the encrypted information is transmitted from the web server 30 to the user terminal 10 and temporarily stored in the memory unit 18 of the user terminal 10.
[0069] Also, when a user selects an image 13c of an electrical appliance or its parts displayed on an application screen on the screen of the display unit 13 of the user terminal 10 as shown in FIG. 12 with the cursor and drops it onto the chatbot screen, such an action is detected by JavaScript as first action information. Then, JavaScript determines information to be sent to the chat server 50 based on the first action information, and the action information based on the first action information, information on the image 13c, and encrypted personal information, product information, etc. are sent from the user terminal 10 to the chat server 50. Note that the information on the image 13c includes metadata attached to the image 13c (for example, the title and description of the image 13c). The encrypted personal information includes the user's past purchase history of electrical appliances and parts. The encrypted product information includes information such as the specifications and price of the product displayed on the application screen. In addition, information such as the specifications of the user terminal 10 itself is obtained by JavaScript executed on the user terminal 10, and the obtained information is sent from the user terminal 10 to the chat server 50 by JavaScript, whereby information such as the specifications of the user terminal 10 itself is obtained by the user information acquisition means 53.
[0070] When the reception means 52 of the chat server 50 receives action information and the like from the user terminal 10, the transmission means 56 of the chat server 50 transmits to the language model server 60 a command to vectorize the action information and the like received by the reception means 52 (specifically, the action of selecting the image 13c of an electrical appliance or its parts displayed on the application screen with the cursor and dropping it on the chatbot screen, the information of the image 13c, and the identification information of the product corresponding to the image 13c) and the pre-input sentence generated based on the pre-input generation information (for example, a sentence saying "I want to know the specifications of the image 13c"). When the reception means 62 of the language model server 60 receives the command, the answer generation unit 63 obtains a vector value by vectorizing the pre-input sentence generated based on the action information and the like. After that, when the reception means 52 of the chat server 50 receives the vector value as the vector information, the transmission means 56 transmits to the first database server 70 a vector search request for searching the first database server 70 for a vector value that is approximate to the vector value generated by the language model server 60. When the receiving means 72 of the first database server 70 receives a vector search request from the chat server 50, vector values that are approximate to the vector value in the received vector search request are extracted from the vector values stored in the storage unit 78, and a base answer corresponding to this approximate value is transmitted to the chat server 50 by the transmitting means 73 of the first database server 70. Here, as the base answer corresponding to the approximate value, for example, an answer that "The specifications of the product corresponding to the image 13c dropped on the chatbot screen are A" is obtained.
[0071] In addition, in the chat server 50, the control unit 51 decrypts the encrypted information with an encryption key issued by a business (administrator) that provides the chatbot service. In addition, the input sentence generation means 54 generates an input sentence (for example, "The user wants to know the specifications of the image 13c," "The specifications of the product corresponding to the image 13c are A," and "The user has purchased product B in the past," based on predetermined input generation information based on the acquired base answer (specifically, the specifications of the product corresponding to the image 13c dropped on the chatbot screen), the information of the image 13c, the action information, and the decrypted information (specifically, the product information, etc.) to the language model server 60. The input generation information is information including rules and the like required to generate an input sentence based on the accepted action. For example, the input generation information is a rule that when the accepted action is "an action in which a user selects an image displayed on an application screen and drops the image on a chatbot screen," a predetermined sentence such as "Please tell me information on {image}" is read from the action content, and metadata of the dropped image (e.g., part name A) is acquired and combined with the sentence to generate an input sentence such as "Please tell me information on part name A." When the transmission means 56 transmits an input sentence generated by the input sentence generation means 54 to the language model server 60, the answer generation unit 63 of the language model server 60 generates an answer corresponding to the input sentence, and the transmission means 64 transmits the answer generated by the answer generation unit 63 to the chat server 50. Then, the transmission means 56 of the chat server 50 transmits a display instruction for the answer information generated by the language model server 60 to the user terminal 10. As a result, the answer generated by the language model server 60 is displayed on the chatbot screen of the website displayed on the display unit 13 of the user terminal 10, as shown in FIG. 13. Specifically, a response obtained by comparing the specifications of the product corresponding to the image 13c dropped onto the chatbot screen with the specifications of the user terminal 10 itself is displayed on the chatbot screen.Furthermore, in the chatbot screen, the language model server 60 creates a message for the user to select whether or not to display a page introducing multiple parts that can operate with the specifications of the user terminal 10, and the created message is displayed on the chatbot screen (see reference numeral 13d in FIG. 13). This allows the user to select whether or not to display a page introducing multiple parts that can operate with the specifications of the user terminal 10 on the chatbot screen. Here, when the user selects to display a page introducing multiple parts that can operate with the specifications of the user terminal 10, a page 13e introducing multiple such parts is displayed on the chatbot screen as shown in FIG. 14.
[0072] Also, when a user drags a specific character (for example, the character "core block") displayed on an application screen on the screen of the display unit 13 of the user terminal 10 as shown in FIG. 12 or FIG. 14, such an action is detected by JavaScript as first action information. Then, the action information and the encrypted personal information, product information, etc. are transmitted from the user terminal 10 to the chat server 50. When the reception means 52 of the chat server 50 receives the action information, etc. from the user terminal 10, the transmission means 56 of the chat server 50 transmits to the language model server 60 a command to vectorize the action information, etc. received by the reception means 52 (specifically, information that the user has dragged a specific character displayed on the application screen and the content of the dragged character). When the reception means 62 of the language model server 60 receives the command, the answer generation unit 63 obtains a vector value by vectorizing the action information, etc. Thereafter, when the reception means 52 of the chat server 50 receives the vector value as vector information, the transmission means 56 transmits to the first database server 70 a vector search request for searching the first database server 70 for a vector value that is approximate to the vector value generated by the language model server 60. When the reception means 72 of the first database server 70 receives the vector search request from the chat server 50, the reception means 72 of the first database server 70 extracts a vector value that is approximate to the vector value in the received vector search request from among the vector values stored in the storage unit 78, and the transmission means 73 of the first database server 70 transmits a base answer corresponding to this approximate value to the chat server 50. Here, as the base answer corresponding to the approximate value, for example, an answer is obtained that provides an explanation of the dragged character and obtains specification information of the user terminal 10 itself regarding the dragged character.
[0073] In the chat server 50, the control unit 51 decrypts the encrypted information with an encryption key issued by a business (administrator) that provides the chatbot service. The input sentence generation means 54 generates an input sentence to the language model server 60 based on the acquired base answer (specifically, an explanation of the dragged character and acquisition of specification information on the dragged character of the user terminal 10 itself), action information, and decrypted information (specifically, product information, etc.). When the transmission means 56 transmits the input sentence generated by the input sentence generation means 54 to the language model server 60, the answer generation unit 63 of the language model server 60 generates an answer corresponding to the input sentence, and the transmission means 64 transmits the answer generated by the answer generation unit 63 to the chat server 50. The transmission means 56 of the chat server 50 transmits a display instruction for the answer information generated by the language model server 60 to the user terminal 10. As a result, the answer generated by the language model server 60 is displayed on the chatbot screen of the website displayed on the display unit 13 of the user terminal 10, as shown in FIG. 15. Specifically, an explanation of the dragged characters is provided, and an answer comparing the specification information of the dragged characters on the user terminal 10 itself with the specifications of the dragged characters on the product displayed on the application screen is displayed on the chatbot screen.
[0074] Next, an example of a second action detected by JavaScript when the user inputs a question or the like on the chatbot screen after the user performs a predetermined operation on the chatbot screen will be described. FIG. 16 is a diagram showing a display screen when a reservation site for making reservations at accommodations is displayed on the display unit 13 of the user terminal 10 as a website provided by the web server 30. The left area 13a of such a display screen is an application screen that displays the names of accommodations that can be reserved, descriptions of the accommodations, accommodation fees, addresses, maps, etc., and the right area 13b of the display screen shown in FIG. 16 is a chatbot screen that is a screen for operating the chatbot and is different from the application screen. As described above, such a chatbot screen is not displayed if the user does not agree to use the chatbot on the website displayed on the display unit 13 of the user terminal 10. When the chatbot screen is displayed on the website, the user can input a question to the chatbot screen using the operation unit 14. When a user logs in to his / her personal page on a website such as that shown in FIG. 16, the user's personal information, accommodation facility service information, etc. are encrypted by the web server 30, and the encrypted information is sent from the web server 30 to the user terminal 10, where it is temporarily stored in the memory unit 18 of the user terminal 10.
[0075] When a user displays a page of a specific accommodation facility on the screen of the display unit 13 of the user terminal 10 as shown in FIG. 16 and inputs the sentence "I would like to make a reservation" on the chatbot screen, such an action is detected by JavaScript as second action information. Then, the action information and the encrypted personal information and service information are transmitted from the user terminal 10 to the chat server 50. The encrypted personal information includes the user's past use history of the accommodation facility. The encrypted service information includes the content of the description of the accommodation facility displayed on the application screen, the accommodation fee, the address, and other information. When the reception means 52 of the chat server 50 receives the action information from the user terminal 10, the transmission means 56 of the chat server 50 transmits to the language model server 60 a command to vectorize the action information received by the reception means 52 (the action of the user displaying the page of a specific accommodation facility and inputting the sentence "I would like to make a reservation" on the chatbot screen). When the reception means 62 of the language model server 60 receives the command, the answer generation unit 63 obtains a vector value by vectorizing the action information. Thereafter, when the reception means 52 of the chat server 50 receives the vector value as the vector information, the transmission means 56 transmits to the first database server 70 a vector search request for searching the first database server 70 for a vector value that is approximate to the vector value generated by the language model server 60. When the reception means 72 of the first database server 70 receives the vector search request from the chat server 50, the reception means 72 extracts a vector value that is approximate to the vector value in the received vector search request from among the vector values stored in the storage unit 78, and the transmission means 73 of the first database server 70 transmits a base answer corresponding to this approximate value to the chat server 50. Here, as the base answer corresponding to the approximate value, for example, an answer is obtained that allows the user to select whether he / she wants to reserve an accommodation displayed on the application screen, whether he / she wants to reserve an accommodation proposed based on the user's past use history of accommodations, or neither.
[0076] In addition, in the chat server 50, the control unit 51 decrypts the encrypted information with an encryption key issued by a business (administrator) that provides the chatbot service. In addition, the input sentence generation means 54 generates an input sentence to the language model server 60 based on the acquired base answer (an answer that allows the user to select whether he / she wants to reserve an accommodation displayed on the application screen, whether he / she wants to reserve an accommodation proposed based on the user's past use history of accommodations, or neither), action information, and decrypted information (specifically, the user's past use history of accommodations, service information of accommodations displayed on the application screen, etc.). When the transmission means 56 transmits the input sentence generated by the input sentence generation means 54 to the language model server 60, the response generation unit 63 of the language model server 60 generates a response corresponding to the input sentence, and the transmission means 64 transmits the response generated by the response generation unit 63 to the chat server 50. Then, the transmission means 56 of the chat server 50 transmits an instruction to display the response information generated by the language model server 60 to the user terminal 10. As a result, as shown in FIG. 16, the answer generated by the language model server 60 is displayed on the chatbot screen of the website displayed on the display unit 13 of the user terminal 10. Specifically, an option 13f is displayed on the chatbot screen to allow the user to select whether he / she wants to reserve the accommodation displayed on the application screen, whether he / she wants to reserve the accommodation proposed based on the user's past use history of the accommodation, or neither. As a result, the user can select on the chatbot screen whether he / she wants to reserve the accommodation displayed on the application screen, whether he / she wants to reserve the accommodation proposed based on the user's past use history of the accommodation, or neither. Here, when the user selects that he / she wants to reserve the accommodation proposed based on the past use history of the accommodation, a message for making a reservation for this accommodation (for example, a message for confirming the reservation date) is displayed on the chatbot screen based on the decrypted information, as shown in FIG. 16.
[0077] 16, on the screen of the display unit 13 of the user terminal 10, the input sentence generation means 54 generates a plurality of input sentences corresponding to the action (for example, "I would like to make a reservation for Kirana Garden", "I would like to make a reservation for Bayside Garden", etc.), and displays the generated plurality of input sentences on the user terminal 10, making it possible to select one input sentence from the plurality of input sentences or to create a new input sentence on the user terminal 10. This allows the user to obtain a more appropriate answer from the chatbot by selecting one input sentence from the plurality of input sentences or creating a new input sentence.
[0078] [Summary of the configuration and operation of this embodiment] According to the program, computer (specifically, chat server 50), system 1 combining web server 30 and chat server 50, and information processing method of the present embodiment configured as described above, the program causes control unit 51 of chat server 50 to function as reception means 52, input sentence generation means 54, answer acquisition means 55, and transmission means 56. The reception means 52 receives action information related to an action performed by a user on an application screen among an application screen displayed on user terminal 10 and a chatbot screen which is a screen for operating a chatbot and is different from the application screen. The input sentence generation means 54 generates an input sentence according to the action based on the action information received by the reception means 52, and the answer acquisition means 55 acquires information of an answer to the input sentence generated by the input sentence generation means 54. The transmission means 56 transmits display information for displaying the answer acquired by the answer acquisition means 55 on the chatbot screen to the user terminal 10. According to such a program, chat server 50, system 1, and information processing method, the flexibility of answers can be increased by creating an input sentence based on information according to a user's action. More specifically, conventional chatbots could only provide answers based on a database that stores combinations of user input sentences and answers, which resulted in low flexibility in the answers. However, the program, chat server 50, system 1, and information processing method of this embodiment can refer to action information related to actions performed by the user on the application screen when creating an input sentence, which makes it possible to increase the flexibility of answers compared to when answers are based on a database that stores combinations of user input sentences and answers.
[0079] In the program, computer (specifically, chat server 50), system 1, and information processing method of the present embodiment, as described above, the answer acquisition means 55 transmits the input sentence generated by the input sentence generation means 54 to the language model server 60, and receives from the language model server 60 the answer to the input sentence calculated by the language model server 60, thereby acquiring answer information. In this way, the accuracy of the answer to the input sentence can be improved by using the language model server 60. Note that, in another aspect of the present embodiment, the language model server 60 as a large-scale language model is not provided separately from the chat server 50, but the large-scale language model may be provided inside the chat server 50. In addition, the answer acquisition means 55 is not limited to transmitting the input sentence generated by the input sentence generation means 54 to the language model server 60, and acquiring answer information by receiving from the language model server 60 the answer to the input sentence calculated by the language model server 60. If an input sentence based on information corresponding to a user's action is created, an answer may be obtained from this input sentence by a method other than inputting the input sentence to the language model server 60.
[0080] Furthermore, in the program, computer (specifically, chat server 50), system 1, and information processing method of this embodiment, as described above, when an input indicating consent to use of a chatbot is made in the user terminal 10, an action detection program that detects an action performed by the user in the user terminal 10 is executed in the user terminal 10, and action information regarding the action performed by the user on the application screen detected by the action detection program is transmitted from the user terminal 10 to the chat server 50. This makes it possible to reliably detect actions performed by the user on the application screen by the action detection program. Note that in this embodiment, the action detection program is not limited to JavaScript, and various other programs may be used.
[0081] In the program, computer (specifically, chat server 50), system 1, and information processing method of the present embodiment, as described above, the action is an action (first action) in which the user selects an image displayed on the application screen and drops it on the chatbot screen, and the input sentence generation means 54 acquires a base answer to the pre-input sentence generated based on the dropped image and action information when detecting the dropping action, and generates an input sentence based on the base answer and action information. This allows the input sentence generation means 54 to generate an input sentence with high accuracy. As described above, based on the dropped image means based on metadata (title and description of the image) attached to the image. Also, the input sentence is transmitted from the chat server 50 to the language model server 60, and the pre-input sentence is transmitted from the chat server 50 to the first database server 70 to create an input sentence.
[0082] Furthermore, at this time, when the input sentence generation means 54 detects a dropping action, it transmits a pre-input sentence generated based on the dropped image and action information to the first database server 70, and acquires information on a base answer by receiving from the first database server 70 a base answer to the pre-input sentence extracted by the first database server 70. In this case, by using the base answer stored in the first database server 70, the input sentence generation means 54 can generate an input sentence with even greater accuracy.
[0083] The sending means 56 may also be configured to send to the user terminal 10 an instruction requesting approval of the base answer acquired by the input sentence generating means 54, and upon receiving information regarding the approval of the base answer from the user terminal 10, the input sentence generating means 54 may generate an input sentence based on the approved base answer and action information. In this case, by obtaining the user's approval of the base answer, the input sentence generating means 54 can generate an input sentence with even greater accuracy.
[0084] As described above, the input sentence generation means 54 may further acquire specification information of the user terminal 10 and generate an input sentence by referring to the specification information in addition to the base answer and action information. In this case, by referring to the specification information of the user terminal 10, the input sentence generation means 54 can generate an input sentence with even greater accuracy.
[0085] Furthermore, in the program, computer (specifically, chat server 50), system 1, and information processing method of the present embodiment, as described above, the action is an action (second action) of accessing the second database server 40 that stores the information displayed on the application screen by the user, and the input sentence generation means 54 acquires action information related to the action to be accessed based on the content input by the user on the chatbot screen and information stored in the accessed second database server 40, and generates an input sentence based on the content input by the user, the action information, and the information stored in the accessed second database server 40. In this case, by referring to the information stored in the second database server 40, the input sentence generation means 54 can generate an input sentence with higher accuracy.
[0086] At this time, the type of the second database server 40 to be accessed may be determined from a plurality of types of second database servers 40 according to the type of action. In this case, by acquiring information from the second database server 40 corresponding to the user's action on the user terminal 10, the acquired information can be made more appropriate.
[0087] Furthermore, in the program, computer (specifically, chat server 50), system 1, and information processing method of the present embodiment, as described above, the program causes control unit 51 to further function as user information acquiring means 53, which acquires information about the user from user terminal 10, and input sentence generating means 54 may generate an input sentence according to the action by referring to the information about the user acquired by user information acquiring means 53 in addition to the action information accepted by acceptance means 52. In this case, by referring to the information about the user acquired by user information acquiring means 53, input sentence generating means 54 can generate an input sentence with higher accuracy.
[0088] Furthermore, in the program, computer (specifically, chat server 50), system 1, and information processing method of this embodiment, as described above, the input sentence generation means 54 generates a plurality of input sentences according to the action, and displays the generated plurality of input sentences on the user terminal 10, thereby making it possible to select one input sentence from the plurality of input sentences or to create a new input sentence on the user terminal 10. This allows the user to obtain a more appropriate answer from the chatbot by selecting one input sentence from the plurality of input sentences or creating a new input sentence.
[0089] Furthermore, in the program, computer (specifically, chat server 50), system 1, and information processing method of this embodiment, when an input indicating consent to use of the chatbot is made in the user terminal 10, an action detection program (e.g., JavaScript) that detects actions other than inputs to the chatbot made by the user in the user terminal 10 is executed in the user terminal 10, and action information regarding actions other than inputs to the chatbot made by the user, detected by the action detection program, is transmitted from the user terminal 10 to the chat server 50. With such a program, chat server 50, system 1, and information processing method, too, the flexibility of responses can be increased by creating input sentences based on information corresponding to the user's actions.
[0090] [Other Aspects of the Present Embodiment] The program, computer (specifically, chat server 50), system 1, and information processing method according to the present embodiment are not limited to the above-described aspects, and various modifications can be made.
[0091] For example, in the above description, the answer acquisition means 55 transmits the input sentence generated by the input sentence generation means 54 to the language model server 60 and receives from the language model server 60 the answer to the input sentence calculated by the language model server 60 to acquire answer information, but the present embodiment is not limited to such an embodiment. As another embodiment, a third database server 90 in which data of the set input sentence and the set answer are stored in association with each other may be connected to the chat server 50 so as to be communicable with the chat server 50. The answer acquisition means 55 may transmit the input sentence generated by the input sentence generation means 54 to the third database server 90 and acquire answer information by receiving from the third database server 90 the answer corresponding to the input sentence extracted based on the data of the set input sentence and the set answer stored in the third database server 90. As another embodiment, instead of sending the answer sent from the third database server 90 to the chat server 50 as is to the user terminal 10 and displaying it on the chatbot, the answer sent from the third database server 90 to the chat server 50 and the question sentence by the user sent from the user terminal 10 to the chat server 50 may be sent to the language model server 60. In this case, the language model server 60 generates an answer based on the question sentence by the user and the answer obtained from the third database server 90, and the answer generated by the language model server 60 is sent from the chat server 50 to the user terminal 10 and displayed on the chatbot.
[0092] In yet another embodiment, data on the set input sentence and the set answer may be stored in association with each other in the memory unit 58 of the chat server 50, and the answer acquisition means 55 may acquire information on the answer corresponding to the input sentence based on the data on the set input sentence and the set answer stored in the memory unit 58.
[0093] Furthermore, the method of generating an input sentence by the input sentence generation means 54 is not limited to the above-mentioned method of using vector information stored in the storage unit 78 of the first database server 70. As a method of generating an input sentence by the input sentence generation means 54, various other methods can be used as long as they are based on the action information accepted by the acceptance means 52.
[0094] In the program, computer (specifically, chat server 50), system 1, and information processing method of the present embodiment, the program may further cause control unit 51 to function as learning means 57. For example, when an administrator logs in to an administration page, not a personal page, using an administrator account on a website displayed on a display unit (not shown) of administrator terminal 80 such as a personal computer owned by an administrator, the learning means 57 can cause the chatbot to learn responses to input sentences. Specifically, the learning means 57 of chat server 50 transmits an instruction to administrator terminal 80 to inquire about the contents of an input sentence corresponding to the contents of an action in the action information received by reception means 52, and performs learning by associating the contents of the input sentence received from administrator terminal 80 with the contents of the action. Then, when reception means 52 receives action information, input sentence generation means 54 generates an input sentence corresponding to the action based on the contents of the learning performed by learning means 57. Even in this case, the input sentence generation means 54 can generate highly accurate input sentences by learning by associating the content of the input sentence received from the administrator terminal 80 with the content of the action, and the answer acquisition means 55 can obtain highly accurate answers.
[0095] In yet another embodiment, instead of or in addition to an action performed on a browser or the like displayed on the display unit 13 of the user terminal 10, an actual action (e.g., turning the face, closing the eyes, speaking, etc.) of the user operating the user terminal 10 may be detected, and the detected action information may be transmitted from the user terminal 10 to the chat server 50, so that the input sentence generating means 54 generates an input sentence according to the action based on the action information, and the answer acquiring means 55 acquires information on an answer to the input sentence generated by the input sentence generating means 54. Such an actual action of the user operating the user terminal 10 is detected by the imaging unit 15, the microphone 16, etc. of the user terminal 10. In this case, the user can obtain an answer from the chatbot based on the actual action of the user operating the user terminal 10 in addition to the action performed on a browser or the like displayed on the display unit 13 of the user terminal 10, thereby further improving the convenience of the chatbot. [Explanation of symbols]
[0096] 1 System 10 User terminal 11 Control section 11a Bus 13 Display section 14 Control section 15 Imaging unit 16. Mike 18 Storage section 19 Communications Department 20 Tag Management Server 21 Control section 21a Bus 22 Reception methods 23 Transmission means 28 Memory section 29 Communications Department 30 Web Server 31 Control Unit 31a Bus 32 Reception methods 33 Transmission means 38 Memory section 39 Communications Department 40 Second Database Server 41 Control section 41a Bus 42 Reception methods 43 Transmission means 48 Memory section 49 Communications Department 50 Chat Server 51 Control section 51a Bus 52 Reception methods 53 User information acquisition means 54 Input sentence generation means 55 Means of obtaining answers 56 Transmission means 57 Learning Methods 58 Memory section 59 Communications Department 60 Language Model Server 61 Control section 61a Bus 62 Reception methods 63 Answer generation part 64 Transmission Method 68 Memory section 69 Communications Department 70 First Database Server 71 Control Unit 71a Bus 72 Reception methods 73 Transmission Method 78 Memory section 79 Communications Department 80 Administrator terminal 90 Third Database Server
Claims
1. A program that causes a control unit of a computer to function as a receiving unit, an input sentence generating unit, an answer acquiring unit, and a sending unit, the receiving means receives action information regarding an action performed by a user on an application screen displayed on a user terminal and a chatbot screen that is a screen for operating a chatbot and is different from the application screen, and the input sentence generation means generates an input sentence corresponding to the action based on the action information accepted by the acceptance means; the answer acquisition means acquires information of an answer to the input sentence generated by the input sentence generation means, the transmission means transmits to the user terminal display information for displaying the answer acquired by the answer acquisition means on the chatbot screen; The reception means is a program that receives from the user terminal the action information regarding the action performed by the user on the application screen, which is detected by an action detection program executed on the user terminal when an input indicating consent to the use of a chatbot is made on the user terminal.
2. A program for causing a control unit of a computer to function as a receiving means, an input sentence generating means, an answer acquiring means, and a transmitting means, comprising: the receiving means receives action information regarding an action performed by a user on an application screen displayed on a user terminal and a chatbot screen that is a screen for operating a chatbot and is different from the application screen, and the input sentence generation means generates an input sentence corresponding to the action based on the action information accepted by the acceptance means; the answer acquisition means acquires information of an answer to the input sentence generated by the input sentence generation means, the transmission means transmits to the user terminal display information for displaying the answer acquired by the answer acquisition means on the chatbot screen; the action is an action in which the user selects an image displayed on the application screen and drops it onto the chatbot screen, The input sentence generation means is a program that, when the dropping action is detected, obtains a base answer to a pre-input sentence generated based on the dropped image and the action information, and generates the input sentence based on the base answer and the action information.
3. 3. The program according to claim 2, wherein the input sentence generation means transmits the pre-input sentence generated based on the dropped image and the action information to a first database server when the dropping action is detected, and acquires information on the base answer by accepting from the first database server the base answer to the pre-input sentence extracted by the first database server.
4. The transmission means transmits to the user terminal an instruction requesting approval of the base answer acquired by the input sentence generation means, 3. The program according to claim 2, wherein the input sentence generating means, upon receiving information regarding approval of the base answer from the user terminal, generates the input sentence based on the base answer for which approval has been obtained and the action information.
5. 3. The program according to claim 2, wherein the input sentence generating means further acquires specification information of the user terminal, and generates the input sentence by referring to the specification information in addition to the base answer and the action information.
6. A program for causing a control unit of a computer to function as a receiving means, an input sentence generating means, an answer acquiring means, and a transmitting means, comprising: the receiving means receives action information regarding an action performed by a user on an application screen displayed on a user terminal and a chatbot screen that is a screen for operating a chatbot and is different from the application screen, and the input sentence generation means generates an input sentence corresponding to the action based on the action information accepted by the acceptance means; the answer acquisition means acquires information of an answer to the input sentence generated by the input sentence generation means, the transmission means transmits to the user terminal display information for displaying the answer acquired by the answer acquisition means on the chatbot screen; the action is an action of the user accessing a second database server that stores information displayed on the application screen, The input sentence generation means is a program that acquires the action information regarding the action to be accessed and information stored in the second database server to be accessed based on the content input by the user on the chatbot screen, and generates the input sentence based on the content input by the user, the action information, and the information stored in the second database server to be accessed.
7. 7. The program according to claim 6, wherein a type of said second database server to be accessed from among a plurality of types of said second database servers is determined according to the type of said action.
8. A program for causing a control unit of a computer to function as a receiving means, an input sentence generating means, an answer acquiring means, and a transmitting means, comprising: the receiving means receives action information regarding an action performed by a user on an application screen displayed on a user terminal and a chatbot screen that is a screen for operating a chatbot and is different from the application screen, and the input sentence generation means generates an input sentence corresponding to the action based on the action information accepted by the acceptance means; the answer acquisition means acquires information of an answer to the input sentence generated by the input sentence generation means, the transmission means transmits to the user terminal display information for displaying the answer acquired by the answer acquisition means on the chatbot screen; The control unit further functions as a learning unit, the learning means transmits an instruction to an administrator terminal to inquire about the content of the input sentence corresponding to the content of the action in the action information received by the receiving means, and performs learning by associating the content of the input sentence received from the administrator terminal with the content of the action; The input sentence generating means generates the input sentence corresponding to the action based on the content of the learning performed by the learning means when the action information is received by the receiving means.
9. A program for causing a control unit of a computer to function as a receiving means, an input sentence generating means, an answer acquiring means, and a sending means, comprising: the receiving means receives action information regarding an action performed by a user on an application screen displayed on a user terminal and a chatbot screen that is a screen for operating a chatbot and is different from the application screen, and the input sentence generation means generates an input sentence corresponding to the action based on the action information accepted by the acceptance means; the answer acquisition means acquires information of an answer to the input sentence generated by the input sentence generation means, the transmission means transmits to the user terminal display information for displaying the answer acquired by the answer acquisition means on the chatbot screen; The input sentence generation means generates a plurality of the input sentences in response to the action, and displays the generated plurality of input sentences on the user terminal, thereby enabling the user to select one of the plurality of input sentences or to create a new input sentence on the user terminal.
10. A program that causes a control unit of a computer to function as a receiving unit, an input sentence generating unit, an answer acquiring unit, and a sending unit, the accepting means accepts action information relating to an action performed by a user at a user terminal; the input sentence generation means generates an input sentence corresponding to the action based on the action information accepted by the acceptance means; the answer acquisition means acquires information of an answer to the input sentence generated by the input sentence generation means, the transmission means transmits to the user terminal display information for displaying the answer acquired by the answer acquisition means on a chatbot screen; When an input indicating consent to the use of the chatbot is made in the user terminal, an action detection program is executed in the user terminal, the action detection program detecting an action other than the input to the chatbot made by a user in the user terminal, A program in which the action information regarding an action other than an input to the chatbot made by a user, detected by the action detection program, is transmitted from the user terminal to the computer.
11. A computer in which a control unit functions as a receiving unit, an input sentence generating unit, an answer acquiring unit, and a sending unit by executing a program, the receiving means receives action information regarding an action performed by a user on an application screen displayed on a user terminal and a chatbot screen that is a screen for operating a chatbot and is different from the application screen, and the input sentence generation means generates an input sentence corresponding to the action based on the action information accepted by the acceptance means; the answer acquisition means acquires information of an answer to the input sentence generated by the input sentence generation means, the transmission means transmits to the user terminal display information for displaying the answer acquired by the answer acquisition means on the chatbot screen; The receiving means is a computer that receives from the user terminal the action information regarding the action performed by the user on the application screen, which is detected by an action detection program executed on the user terminal when an input indicating consent to the use of a chatbot is made on the user terminal.
12. A computer in which a control unit functions as a receiving means, an input sentence generating means, an answer acquiring means, and a sending means by executing a program, the receiving means receives action information regarding an action performed by a user on an application screen displayed on a user terminal and a chatbot screen that is a screen for operating a chatbot and is different from the application screen, and the input sentence generation means generates an input sentence corresponding to the action based on the action information accepted by the acceptance means; the answer acquisition means acquires information of an answer to the input sentence generated by the input sentence generation means, the transmission means transmits to the user terminal display information for displaying the answer acquired by the answer acquisition means on the chatbot screen; the action is an action in which the user selects an image displayed on the application screen and drops it onto the chatbot screen, The input sentence generation means is a computer that, when the dropping action is detected, obtains a base answer to a pre-input sentence generated based on the dropped image and the action information, and generates the input sentence based on the base answer and the action information.
13. A computer in which a control unit functions as a receiving means, an input sentence generating means, an answer acquiring means, and a sending means by executing a program, the receiving means receives action information regarding an action performed by a user on an application screen displayed on a user terminal and a chatbot screen that is a screen for operating a chatbot and is different from the application screen, and the input sentence generation means generates an input sentence corresponding to the action based on the action information accepted by the acceptance means; the answer acquisition means acquires information of an answer to the input sentence generated by the input sentence generation means, the transmission means transmits to the user terminal display information for displaying the answer acquired by the answer acquisition means on the chatbot screen; the action is an action of the user accessing a second database server that stores information displayed on the application screen, The input sentence generation means acquires the action information regarding the action to be accessed and information stored in the second database server to be accessed based on the content input by the user on the chatbot screen, and generates the input sentence based on the content input by the user, the action information, and the information stored in the second database server to be accessed.
14. A computer in which a control unit functions as a receiving means, an input sentence generating means, an answer acquiring means, and a sending means by executing a program, the receiving means receives action information regarding an action performed by a user on an application screen displayed on a user terminal and a chatbot screen that is a screen for operating a chatbot and is different from the application screen, and the input sentence generation means generates an input sentence corresponding to the action based on the action information accepted by the acceptance means; the answer acquisition means acquires information of an answer to the input sentence generated by the input sentence generation means, the transmission means transmits to the user terminal display information for displaying the answer acquired by the answer acquisition means on the chatbot screen; The control unit further functions as a learning unit, the learning means transmits an instruction to an administrator terminal to inquire about the content of the input sentence corresponding to the content of the action in the action information received by the receiving means, and performs learning by associating the content of the input sentence received from the administrator terminal with the content of the action; The input sentence generating means, when the accepting means accepts the action information, generates the input sentence corresponding to the action based on the content of the learning performed by the learning means.
15. A computer in which a control unit functions as a receiving means, an input sentence generating means, an answer acquiring means, and a sending means by executing a program, the receiving means receives action information regarding an action performed by a user on an application screen displayed on a user terminal and a chatbot screen that is a screen for operating a chatbot and is different from the application screen, and the input sentence generation means generates an input sentence corresponding to the action based on the action information accepted by the acceptance means; the answer acquisition means acquires information of an answer to the input sentence generated by the input sentence generation means, the transmission means transmits to the user terminal display information for displaying the answer acquired by the answer acquisition means on the chatbot screen; The input sentence generation means generates a plurality of the input sentences in response to the action, and displays the generated plurality of input sentences on the user terminal, thereby enabling the user to select one of the plurality of input sentences or to create a new input sentence on the user terminal.
16. A computer in which a control unit functions as a receiving unit, an input sentence generating unit, an answer acquiring unit, and a sending unit by executing a program, the accepting means accepts action information relating to an action performed by a user at a user terminal; the input sentence generation means generates an input sentence corresponding to the action based on the action information accepted by the acceptance means; the answer acquisition means acquires information of an answer to the input sentence generated by the input sentence generation means, the transmission means transmits to the user terminal display information for displaying the answer acquired by the answer acquisition means on a chatbot screen; When an input indicating consent to the use of the chatbot is made in the user terminal, an action detection program is executed in the user terminal, the action detection program detecting an action other than the input to the chatbot made by a user in the user terminal, A computer, wherein the action information regarding an action other than an input to the chatbot made by a user, detected by the action detection program, is transmitted from the user terminal to the computer.
17. a web server for displaying a website on a user terminal; A computer in which a control unit functions as a receiving means, an input sentence generating means, an answer acquiring means, and a sending means by executing a program; A system comprising: the receiving means receives action information regarding an action performed by a user on an application screen of the website displayed on the user terminal and a chatbot screen that is a screen for operating a chatbot and is different from the application screen, and the input sentence generation means generates an input sentence corresponding to the action based on the action information accepted by the acceptance means; the answer acquisition means acquires information of an answer to the input sentence generated by the input sentence generation means, the transmission means transmits to the user terminal display information for displaying the answer acquired by the answer acquisition means on the chatbot screen; The system wherein the reception means receives from the user terminal the action information regarding the action performed by the user on the application screen, which is detected by an action detection program executed on the user terminal when an input indicating consent to the use of a chatbot is made on the user terminal.
18. A web server for displaying a website on a user terminal; A computer in which a control unit functions as a receiving means, an input sentence generating means, an answer acquiring means, and a sending means by executing a program; A system comprising: the receiving means receives action information regarding an action performed by a user on an application screen of the website displayed on the user terminal and a chatbot screen that is a screen for operating a chatbot and is different from the application screen, and the input sentence generation means generates an input sentence corresponding to the action based on the action information accepted by the acceptance means; the answer acquisition means acquires information of an answer to the input sentence generated by the input sentence generation means, the transmission means transmits to the user terminal display information for displaying the answer acquired by the answer acquisition means on the chatbot screen; the action is an action in which the user selects an image displayed on the application screen and drops it onto the chatbot screen, The input sentence generation means, when detecting the dropping action, obtains a base answer to a pre-input sentence generated based on the dropped image and the action information, and generates the input sentence based on the base answer and the action information.
19. A web server for displaying a website on a user terminal; A computer in which a control unit functions as a receiving means, an input sentence generating means, an answer acquiring means, and a sending means by executing a program; A system comprising: the receiving means receives action information regarding an action performed by a user on an application screen of the website displayed on the user terminal and a chatbot screen that is a screen for operating a chatbot and is different from the application screen, and the input sentence generation means generates an input sentence corresponding to the action based on the action information accepted by the acceptance means; the answer acquisition means acquires information of an answer to the input sentence generated by the input sentence generation means, the transmission means transmits to the user terminal display information for displaying the answer acquired by the answer acquisition means on the chatbot screen; the action is an action of the user accessing a second database server that stores information displayed on the application screen, The input sentence generation means acquires the action information regarding the action to be accessed and the information stored in the second database server to be accessed based on the content input by the user on the chatbot screen, and generates the input sentence based on the content input by the user, the action information, and the information stored in the second database server to be accessed.
20. A web server for displaying a website on a user terminal; A computer in which a control unit functions as a receiving means, an input sentence generating means, an answer acquiring means, and a sending means by executing a program; A system comprising: the receiving means receives action information regarding an action performed by a user on an application screen of the website displayed on the user terminal and a chatbot screen that is a screen for operating a chatbot and is different from the application screen, and the input sentence generation means generates an input sentence corresponding to the action based on the action information accepted by the acceptance means; the answer acquisition means acquires information of an answer to the input sentence generated by the input sentence generation means, the transmission means transmits to the user terminal display information for displaying the answer acquired by the answer acquisition means on the chatbot screen; The control unit further functions as a learning unit, the learning means transmits an instruction to an administrator terminal to inquire about the content of the input sentence corresponding to the content of the action in the action information received by the receiving means, and performs learning by associating the content of the input sentence received from the administrator terminal with the content of the action; The input sentence generation means, when the action information is received by the receiving means, generates the input sentence corresponding to the action based on the content of the learning performed by the learning means.
21. A web server for displaying a website on a user terminal; A computer in which a control unit functions as a receiving means, an input sentence generating means, an answer acquiring means, and a sending means by executing a program; A system comprising: the receiving means receives action information regarding an action performed by a user on an application screen of the website displayed on the user terminal and a chatbot screen that is a screen for operating a chatbot and is different from the application screen, and the input sentence generation means generates an input sentence corresponding to the action based on the action information accepted by the acceptance means; the answer acquisition means acquires information of an answer to the input sentence generated by the input sentence generation means, the transmission means transmits to the user terminal display information for displaying the answer acquired by the answer acquisition means on the chatbot screen; the transmission means transmits to the user terminal display information for displaying the answer acquired by the answer acquisition means on the chatbot screen; The input sentence generation means generates a plurality of input sentences in response to the action, and displays the generated plurality of input sentences on the user terminal, thereby enabling the user to select one of the plurality of input sentences or to create a new input sentence on the user terminal.
22. a web server for displaying a website on a user terminal; A computer in which a control unit functions as a receiving means, an input sentence generating means, an answer acquiring means, and a sending means by executing a program; A system comprising: the accepting means accepts action information regarding an action taken on the website by a user at the user terminal; the input sentence generation means generates an input sentence corresponding to the action based on the action information accepted by the acceptance means; the answer acquisition means acquires information of an answer to the input sentence generated by the input sentence generation means, the transmission means transmits to the user terminal display information for displaying the answer acquired by the answer acquisition means on a chatbot screen; When an input indicating consent to the use of the chatbot is made in the user terminal, an action detection program is executed in the user terminal, the action detection program detecting an action other than the input to the chatbot made by a user in the user terminal, A system in which the action information regarding actions other than input to the chatbot made by a user, detected by the action detection program, is transmitted from the user terminal to the computer.
23. An information processing method executed by a computer having a control unit, The control unit receives action information regarding an action performed by a user on an application screen displayed on a user terminal, the application screen being a screen for operating a chatbot and different from the application screen; generating an input sentence corresponding to the action based on the received action information by the control unit; the control unit acquiring information of a generated answer to the input sentence; a step of the control unit transmitting information of the acquired answer to the user terminal; Equipped with An information processing method in which the control unit receives from the user terminal the action information regarding the action performed by the user on the application screen, which is detected by an action detection program executed on the user terminal when an input indicating consent to the use of a chatbot is made on the user terminal.
24. An information processing method executed by a computer having a control unit, comprising: The control unit receives action information regarding an action performed by a user on an application screen displayed on a user terminal, the application screen being a screen for operating a chatbot and different from the application screen; generating an input sentence corresponding to the action based on the received action information by the control unit; the control unit acquiring information of a generated answer to the input sentence; a step of the control unit transmitting information of the acquired answer to the user terminal; Equipped with the action is an action in which the user selects an image displayed on the application screen and drops it onto the chatbot screen, An information processing method in which the control unit, when detecting the dropping action, obtains a base answer to a pre-input sentence generated based on the dropped image and the action information, and generates the input sentence based on the base answer and the action information.
25. An information processing method executed by a computer having a control unit, comprising: The control unit receives action information regarding an action performed by a user on an application screen displayed on a user terminal, the application screen being a screen for operating a chatbot and different from the application screen; generating an input sentence corresponding to the action based on the received action information by the control unit; the control unit acquiring information of a generated answer to the input sentence; a step of the control unit transmitting information of the acquired answer to the user terminal; Equipped with the action is an action of the user accessing a second database server that stores information displayed on the application screen, The control unit acquires the action information regarding the action to be accessed and information stored in the second database server to be accessed based on the content input by the user on the chatbot screen, and generates the input sentence based on the content input by the user, the action information, and the information stored in the second database server to be accessed.
26. An information processing method executed by a computer having a control unit, comprising: The control unit receives action information regarding an action performed by a user on an application screen displayed on a user terminal, the application screen being a screen for operating a chatbot and different from the application screen; generating an input sentence corresponding to the action based on the received action information by the control unit; the control unit acquiring information of a generated answer to the input sentence; a step of the control unit transmitting information of the acquired answer to the user terminal; Equipped with the control unit transmits to an administrator terminal an instruction to inquire about the content of the input sentence corresponding to the content of the action in the received action information, and performs learning by associating the content of the input sentence received from the administrator terminal with the content of the action; The information processing method, wherein when the control unit receives the action information, the control unit generates the input sentence corresponding to the action based on the content of learning performed by the control unit.
27. An information processing method executed by a computer having a control unit, comprising: The control unit receives action information regarding an action performed by a user on an application screen displayed on a user terminal, the application screen being a screen for operating a chatbot and different from the application screen; generating an input sentence corresponding to the action based on the received action information by the control unit; the control unit acquiring information of a generated answer to the input sentence; a step of the control unit transmitting information of the acquired answer to the user terminal; Equipped with The control unit transmits display information for displaying the acquired answer on the chatbot screen to the user terminal, The control unit generates a plurality of input sentences corresponding to the action, and displays the generated plurality of input sentences on the user terminal, thereby enabling the user to select one of the plurality of input sentences or to create a new input sentence on the user terminal.
28. An information processing method executed by a computer having a control unit, receiving action information relating to an action performed by a user on a user terminal by the control unit; generating an input sentence corresponding to the action based on the received action information by the control unit; the control unit acquiring information of a generated answer to the input sentence; The control unit transmits, to the user terminal, display information for displaying the acquired answer on a chatbot screen; Equipped with When an input indicating consent to the use of the chatbot is made in the user terminal, an action detection program is executed in the user terminal, the action detection program detecting an action other than the input to the chatbot made by a user in the user terminal, An information processing method in which the action information regarding an action other than an input to the chatbot made by a user, detected by the action detection program, is transmitted from the user terminal to the computer.
Citation Information
Patent Citations
Suggested items for use in embedded applications in chat conversations
JP6718028B2
JPP6718028B
JPP7418766B
Customer service assistance system and customer service assistance method
WO2019186678A1
