Electronic apparatus, agent system and program thereof, smart glasses, and order terminal and program thereof

The agent system addresses the challenge of understanding user emotions and preferences by using a combination of user state recognition and emotion determination units to select appropriate products or actions, enhancing user interaction and satisfaction through real-time emotional awareness.

WO2024225222A1PCT designated stage expired Publication Date: 2024-10-31SOFTBANK GROUP CORP

Patent Information

Application Number
PCT/JP2024/015722
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-12-28
Filing Date
2024-04-22
Publication Date
2024-10-31

AI Technical Summary

Technical Problem

Conventional systems fail to effectively interact with users by understanding their emotions and adapting responses accordingly, lacking the ability to determine user emotions and preferences in real-time to provide personalized interactions.

Method used

An agent system that includes a reception unit for budget and history information, a user state recognition unit, an emotion determination unit, and an operation execution unit to determine and respond to user emotions and preferences by selecting appropriate products or actions based on user state and inventory levels, using image information and sensor data to inform decision-making.

Benefits of technology

Enables personalized interactions by determining user emotions and preferences, allowing the system to suggest products or actions that align with user needs, improving user engagement and satisfaction through real-time emotional awareness and responsive behavior.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2024015722_31102024_PF_FP_ABST
    Figure JP2024015722_31102024_PF_FP_ABST
Patent Text Reader

Abstract

Provided is an electronic apparatus capable of using an agent system for interacting with a user by understanding an emotion of the user and own emotion. This electronic apparatus is capable of using an agent system that includes: an emotion determination unit that determines an emotion of a user or an emotion of an agent; and an interaction processing unit that determines an utterance content of the agent for interacting with the user on the basis of the emotion determined by the emotion determination unit. The electronic apparatus comprises: an acquisition unit capable of acquiring information on the state of the user; and an output unit capable of outputting, to the user, the utterance content generated in the agent system. The emotion determination unit determines the emotion of the user on the basis of the state of the user obtained from the acquisition unit.
Need to check novelty before this filing date? Find Prior Art

Description

Electronic device, agent system and its program, smart glasses, and order terminal and its program

[0001] The present invention relates to an electronic device, an agent system and a program therefor, smart glasses, and an order terminal and a program therefor.

[0002] Patent Literature 1 discloses a technology for determining an appropriate robot behavior for a user's state. The conventional technology in Patent Literature 1 recognizes the user's reaction when the robot performs a specific action, and if the robot is unable to determine an action for the recognized user reaction, it updates the robot's behavior by receiving information about an action appropriate to the recognized user's state from a server.

[0003] Patent No. 6053847

[0004] The present disclosure aims to provide an electronic device, an agent system, and its program, smart glasses, and an ordering terminal and its program that can utilize an agent system that understands the user's and the user's own emotions and interacts with the user.

[0005] The agent system according to the first aspect includes a reception unit that receives a budget for a payment method that can be used to acquire a product; a history acquisition unit that acquires history information that is information relating to a purchase history that records products that a user has purchased in the past; a product determination unit that determines a product to acquire based on the budget received by the reception unit and the history information obtained from the history acquisition unit; and an operation execution unit that executes an operation to acquire the product determined by the product determination unit at a predetermined timing.

[0006] The agent system according to the second aspect is the agent system according to the first aspect, further comprising a user state recognition unit capable of acquiring information relating to the user's state, and an emotion determination unit that determines the user's emotion based on the information relating to the user's state acquired by the user state recognition unit, and the history information includes an acquisition history that records products acquired by the operation execution unit in association with the user's emotion toward the products as determined by the emotion determination unit.

[0007] The agent system according to the third aspect is the agent system according to the second aspect, wherein the emotion determination unit further determines the emotion of the agent based on the state of the user acquired via the user state recognition unit, and the product determination unit determines the product to be acquired based on the emotion of the agent determined by the emotion determination unit.

[0008] The agent system of the fourth aspect is the agent system of the second aspect, wherein the user state recognition unit further acquires information regarding the surrounding situation of the user, and the product determination unit determines the product to be acquired based on the surrounding situation acquired by the user state recognition unit.

[0009] The agent system according to the fifth aspect is the agent system according to the fourth aspect, wherein the information about the surrounding situation is information about the inventory of each product inferred from image information representing the situation around the user, and the product determination unit determines the product to acquire based on the information about the inventory.

[0010] The agent system according to the sixth aspect is the agent system according to the fifth aspect, wherein the operation execution unit executes an operation to acquire the product when the inventory falls below a predetermined threshold for a predetermined consecutive period of time.

[0011] The agent system of the seventh aspect is the agent system of the second aspect, wherein the reception unit further receives at least one setting information from among information regarding product categories and information regarding user preferences, and the product determination unit determines the product to acquire based on the setting information received by the reception unit.

[0012] A program according to an eighth aspect causes a computer to operate as the agent system according to any one of the first to seventh aspects.

[0013] The agent system according to a ninth aspect comprises a reception unit that receives keywords indicating objects desired by a user and concept words indicating the direction of the keywords; a proposal determination unit that determines proposed information to be proposed to the user based on the keywords and concept words received by the reception unit; an identification unit that identifies things needed by the user from the proposed information determined by the proposal determination unit; a user state recognition unit that acquires image information related to the situation around the user; and a position output unit that outputs position information indicating the position of information related to the thing identified by the identification unit when the image information acquired by the user state recognition unit includes information related to the thing identified by the identification unit.

[0014] The agent system of a tenth aspect is the agent system of the first aspect, wherein the user state recognition unit is capable of acquiring information regarding the user's state, and further comprises an emotion determination unit that determines the user's emotion based on the information regarding the user's state acquired by the user state recognition unit, and a history acquisition unit that acquires history information that is information that associates and stores the user's past actions with the user's emotions determined by the emotion determination unit when the user performed the actions, and the proposal determination unit determines the proposal information based on the user's emotion determined by the emotion determination unit and the history information acquired by the history acquisition unit.

[0015] A program according to an eleventh aspect causes a computer to operate as the agent system according to the first or second aspect.

[0016] The agent system according to the twelfth aspect comprises a face information acquisition unit that acquires face information, which is information about the face of a user's conversation partner; a state recognition unit that can acquire information about the state of the conversation partner; an emotion determination unit that determines the emotion of the conversation partner based on the information about the state of the conversation partner acquired by the state recognition unit; a public information acquisition unit that acquires publicly available information about the conversation partner from information on the Internet, including social media, based on the face information and the emotion of the conversation partner; a personal information acquisition unit that acquires personal information that identifies the conversation partner from the public information; and an information output unit that outputs at least one of the emotion of the conversation partner, the public information, and the personal information.

[0017] The agent system of the thirteenth aspect is the agent system of the twelfth aspect, wherein the personal information acquisition unit acquires the personal information from a database in which facial information of a plurality of people and personal information identifying each of the plurality of people are stored in association with each other, based on the facial information acquired by the facial information acquisition unit.

[0018] An agent system according to a fourteenth aspect is the agent system according to the twelfth aspect, wherein the information output unit outputs a summary generated from a combination of at least two of the emotions of the conversation partner, the public information, and the personal information.

[0019] The agent system of the fifteenth aspect is the agent system of the twelfth aspect, wherein the information output unit outputs conversation information, which is information for conversing with the conversation partner, generated based on at least one of the emotions of the conversation partner, the public information, and the personal information.

[0020] A program according to a sixteenth aspect causes a computer to operate as the agent system described above.

[0021] The smart glasses according to the seventeenth aspect can utilize the agent system described above.

[0022] According to an eighteenth aspect of the present disclosure, there is provided an electronic device. The electronic device is an electronic device that can use an agent system including an emotion determination unit that determines an emotion of a user or an emotion of an agent, and a dialogue processing unit that determines an utterance content of the agent to dialogue with the user based on the emotion determined by the emotion determination unit, and is characterized by comprising: an acquisition unit that can acquire information about the user's state; an execution unit that causes the agent system to create a summary of character strings in a specific area that the user is attempting to understand by acquiring a preset prompt from the acquisition unit; and an output unit that outputs the summary created by the agent system to the user as the utterance content. In the present disclosure, the electronic device is characterized by being a wearable device worn by the user, and the electronic device is characterized by capturing an image of the specific area in the user's line of sight with a camera equipped on the wearable device, converting the character strings in the image of the specific area captured by the camera into character-recognizable text data, and sending the text data to the acquisition unit. The present disclosure is characterized in that the specific area is a facing-page area of ​​a book held by the user, and the summary is created and spoken for each facing-page area as a unit. The present disclosure is characterized in that by determining whether a page of the book is being turned, multiple units of summary sentences are created for each facing-page area and output in synchronization with the page being turned.

[0023] According to a nineteenth aspect of the present disclosure, there is provided an electronic device. The electronic device is an electronic device that can use an agent system including an emotion determination unit that determines the emotion of a user or an agent, and a dialogue processing unit that determines an utterance content of the agent to dialogue with the user based on the emotion determined by the emotion determination unit. The electronic device is characterized by comprising: an acquisition unit that acquires information about the user's state; an execution unit that, when the emotion determination unit analyzes the user's emotion regarding a specific event as negative, acquires a predetermined prompt, thereby causing the agent system to create a sentence that changes the emotion regarding the event to positive; and an output unit that outputs the sentence generated by the agent system to the user as the utterance content. In this case, the user's emotion can be repeatedly determined until the user's emotion changes from negative to positive. Furthermore, the user's emotion can be determined based on sensor information that detects the user's range of activity in synchronization with the user's behavior. Furthermore, the electronic device may be a wearable device worn by the user, and the sensor information of the user's range of movement along the user's line of sight may be aggregated based on a sensor mounted on the wearable device. The sensor may be a camera mounted on the wearable device, and the sensor information may be an image of the user's range of movement captured by the camera. The sensor may be a microphone mounted on the wearable device, and the sensor information may be environmental sounds recorded by the microphone within the user's range of movement.

[0024] According to a twentieth aspect of the present disclosure, there is provided an electronic device. The electronic device is an electronic device that can use an agent system including an emotion determination unit that determines the emotion of a user or an emotion of an agent, and a dialogue processing unit that determines utterances of the agent to dialogue with the user based on the emotion determined by the emotion determination unit, and is characterized by comprising: an acquisition unit that can acquire information about the user's state; a determination unit that determines whether a specific behavior of a behavior history target has been achieved or not based on the behavior history of the behavior history target; an execution unit that, when the user issues an instruction to determine whether the specific behavior has been achieved or not, causes the agent system to generate a sentence regarding the specific behavior based on the determination result of the determination unit regarding the specific behavior; and an output unit that outputs the sentence generated by the agent system to the user as the utterance. In this case, the electronic device further includes a storage unit that stores behavior history images captured in chronological order following the behavior of the behavior history target, and the determination unit can determine whether the specific behavior has been achieved or not based on the behavior history images stored in the storage unit. Furthermore, a relationship can be established between the user and the behavior history target, in which the user is the administrator or guardian and the behavior history target is the administrator or protected. Furthermore, the relationship between the user and the behavior history target can be the relationship between a parent and a child under the parent's protection, and the specific behavior can be selected from behaviors previously registered as a to-do list for the child.

[0025] According to a twenty-first aspect of the present disclosure, there is provided an agent system. The agent system includes: an emotion determination unit that determines an emotion of a user or an agent; a dialogue processing unit that determines an utterance content of the agent to dialogue with the user based on the emotion determined by the emotion determination unit; a generation unit that generates a sentence instructing an action corresponding to the sudden change in emotion when the emotion determination unit determines a sudden change in the user's emotion or the agent's emotion regarding a specific event that exceeds a predetermined degree of change; and an execution unit that executes an action corresponding to the sudden change in emotion on the user based on the generated sentence, between an action before the change in emotion and an action after the change in emotion. In this case, the action corresponding to the sudden change in emotion may be executed using at least one sense of hearing, vision, touch, smell, and taste, or a combination of two or more senses. The execution unit can adjust the emphasis level of the action corresponding to the sudden change in emotion in proportion to the degree of the sudden change in emotion. The emotions are classified into joy, anger, sadness, and happiness, and the execution unit can vary the action depending on the emotions before and after the change in emotion. Furthermore, in the present disclosure, when the user feels intimidated or scared, the execution unit can execute an action corresponding to the sudden change in emotion to alleviate the intimidation or fear. Furthermore, when the user feels joy, the execution unit can execute an action corresponding to the sudden change in emotion to promote and enhance the joy.

[0026] According to a twenty-second aspect of the present disclosure, an agent system is provided. The agent system is composed of multiple agents, each including an acquisition unit that acquires information about a user's state, an emotion determination unit that determines the user's emotion based on the information about the user's state acquired by the acquisition unit, and a dialogue processing unit that determines an utterance content of the agent to dialogue with the user based on the emotion determined by the emotion determination unit. The agent system further includes an arbitration unit installed in at least one agent, which, when an utterance content is requested in response to the user's emotion and the utterance content differs among the multiple agents, determines one of the utterance content. In this case, the acquisition unit can acquire voice information uttered by the user or text information created by the user, and the utterance content can be generated using a sentence generation model that generates a sentence to respond to the voice information or text information input via the acquisition unit. Furthermore, the arbitration unit can determine one of multiple new utterance content based on a history of previously determined utterance content of each agent. Furthermore, each of the multiple agents can be installed in a wearable device that can be worn by the user.

[0027] The ordering terminal of the 23rd aspect includes a reception unit that receives order information indicating a product order from a user, an input unit that inputs the order information received by the reception unit into a sentence generation model, a presentation unit that presents confirmation information to the user for confirming the order information output from the sentence generation model, and an ordering unit that orders a product in accordance with the user's response to the confirmation information.

[0028] The ordering terminal of the 24th aspect is the ordering terminal of the 23rd aspect, further comprising an acquisition unit capable of acquiring information regarding the user's condition, an emotion determination unit that determines the user's emotion based on the information regarding the user's condition acquired by the acquisition unit, and a conversation processing unit that determines the content of an utterance to be made by an agent that converses with the user based on the emotion determined by the emotion determination unit, wherein the conversation processing unit determines the content of the utterance based on the confirmation information, and the presentation unit presents the product indicated in the order information to the user based on the content of the utterance determined based on the confirmation information.

[0029] An ordering terminal according to a 25th aspect is the ordering terminal according to the 24th aspect, wherein the conversation processing unit determines, as the content of the speech, a product suggestion for the user based on the user's emotion determined by the emotion determination unit.

[0030] In the ordering terminal of the 26th aspect, in the ordering terminal of the 24th aspect, the acquisition unit acquires consumption information regarding the consumption of the product ordered by the user, and the conversation processing unit determines, as the content of the utterance, a product suggestion for the user based on the consumption information acquired by the acquisition unit.

[0031] The ordering terminal of the 27th aspect is the ordering terminal of the 24th aspect, wherein the reception unit receives the order information from multiple users at once, and the presentation unit presents the confirmation information to the user, which aggregates the order information from the multiple users received by the reception unit.

[0032] The ordering terminal of the 28th aspect is the ordering terminal of the 24th aspect, wherein the acquisition unit acquires configuration information regarding the configuration of the multiple users, and the conversation processing unit determines, as the speech content, product suggestions for the multiple users based on the configuration information acquired by the acquisition unit.

[0033] A program according to a twenty-ninth aspect causes a computer to operate as the ordering terminal according to any one of the first to sixth aspects.

[0034] According to a thirtieth aspect of the present disclosure, there is provided an electronic device that can utilize an agent system including an emotion determination unit that determines an emotion of a user or an emotion of an agent, and a dialogue processing unit that determines an utterance content of the agent to dialogue with the user based on the emotion determined by the emotion determination unit, the electronic device further comprising: an acquisition unit that can acquire information about the user's state, a voice input including instruction information of the user, or both, and an output unit that can output the utterance content generated in the agent system to the user, wherein the emotion determination unit determines the emotion of the user based on the user's state obtained from the acquisition unit, and the dialogue processing unit performs setting based on the instruction information of the user.

[0035] According to a thirty-first aspect of the present disclosure, there is provided an electronic device that can use an agent system including an emotion determination unit that determines an emotion of a user or an emotion of an agent, and a dialogue processing unit that determines an utterance content of the agent to dialogue with the user based on the emotion determined by the emotion determination unit, the electronic device comprising: an acquisition unit that can acquire information regarding a state of the user; and an output unit that can output the utterance content generated in the agent system to the user, wherein when communication with a computer network becomes impossible, the output unit outputs utterance information to another electronic device that can communicate with the computer network, and the acquisition unit acquires response information corresponding to the utterance information from the other electronic device.

[0036] According to a thirty-second aspect of the present disclosure, there is provided an electronic device. The electronic device is an electronic device that can use an agent system including an emotion determination unit that determines an emotion of a user or an emotion of an agent, and a dialogue processing unit that determines an utterance content of the agent to dialogue with the user based on the emotion determined by the emotion determination unit, and includes: an acquisition unit that can acquire information about a state of the user; and an output unit that can output the utterance content generated in the agent system to the user. The acquisition unit acquires the state of another user from another agent system, and the output unit outputs the emotion of the other user determined by the emotion determination unit based on the state of the other user as the utterance content of the agent.

[0037] 1A and 1B are a block diagram showing an example of a system 5 according to a first embodiment; a block diagram showing a functional configuration of a robot 100 according to the first embodiment; a block diagram showing an example of an operation flow by the robot 100 according to the first embodiment; a block diagram showing an example of a hardware configuration of a computer 1200 according to the first embodiment; a block diagram showing an emotion map to which multiple emotions are mapped according to the first embodiment; a block diagram showing an emotion map to which multiple emotions are mapped according to the first embodiment; a block diagram showing an example of a functional configuration of an agent system according to the first embodiment; a block diagram showing an example of an operation of the agent system according to the first embodiment; a block diagram showing an example of a hardware configuration of smart glasses according to the first embodiment; a block diagram showing an example of a usage mode of the agent system using smart glasses according to the first embodiment; a block diagram showing an example of a hardware configuration of a smart pendant according to the first embodiment; a block diagram showing an example of a functional configuration of an agent system according to a second embodiment; a flow chart showing an example of a product determination process flow in which the agent system according to the second embodiment determines a product to purchase; a flow chart showing an example of a product acquisition process flow in which the agent system according to the second embodiment purchases a product; a flow chart showing an example of an acquisition determination process flow in which the agent system according to a first variant of the second embodiment determines whether to purchase a product. 10 is a flowchart showing an example of the flow of a product determination process in which an agent system according to a second modification of the second embodiment determines a service to be contracted for. FIG. 11 is a diagram showing an example of the functional configuration of an agent system according to a third embodiment. FIG. 12 is a flowchart showing an example of the flow of an output process in which an agent system according to the third embodiment outputs information on the location of a necessary item. FIG. 13 is a flowchart showing an example of the flow of a proposal determination process in which a proposal is determined using a sentence generation model according to the third embodiment. FIG. 14 is a flowchart showing an example of the flow of a proposal determination process in which a proposal is determined using a sentence generation model according to a second modification of the third embodiment. FIG. 15 is a flowchart showing an example of the flow of a partner information output process according to the fourth embodiment.10 is a flowchart showing an example of the flow of emotion acquisition processing according to the fourth embodiment.

[0033] FIG. 10 is a flowchart showing an example of the flow of emotion acquisition processing according to the fourth embodiment.

[0034] FIG. 10 is a flowchart showing an example of the flow of emotion acquisition processing according to the fourth embodiment.

[0035] FIG. 10 is a flowchart showing an example of the flow of emotion acquisition processing according to the fourth embodiment.

[0036] FIG. 10 is a flowchart showing an example of the flow of emotion acquisition processing according to the fourth embodiment.

[0037] FIG. 10 is a flowchart showing an example of the flow of emotion acquisition processing according to the fourth embodiment.

[0038] FIG. 10 is a flowchart showing an example of the flow of emotion acquisition processing according to the fourth embodiment.

[0039] FIG. 11 is a flowchart showing an example of the flow of emotion acquisition processing according to the sixth embodiment.

[0039] FIG. 11 is a flowchart showing an example of the flow of emotion acquisition processing according to the sixth embodiment.

[0039] FIG. 11 is a flowchart showing an example of the flow of emotion acquisition processing according to the sixth embodiment.

[0039] 36 is a front view of a group of images (images) taken in chronological order by a camera managed and controlled by an agent system for use in behavior history determination of a behavior history target designated by a user in a seventh embodiment. FIG. 37 is a control flowchart showing the flow of behavior history acquisition in the processing of a to-do management application executed by a robot control device in a seventh embodiment. FIG. 38 is a control flowchart showing the flow of an interrupt routine that is interrupted when a behavior history determination request is made during the behavior history acquisition of FIG. 36 in a seventh embodiment. FIG. 39 is a flowchart illustrating the operation of system 5 according to the eighth embodiment. FIG. 39 is a flowchart illustrating the operation of system 5 according to the eighth embodiment. FIG. 39 is a flowchart illustrating the operation of system 5 according to the ninth embodiment. FIG. 39 is a flowchart illustrating the operation of system 5 according to the ninth embodiment. FIG. 39 is a flowchart illustrating the operation of system 5 according to the tenth embodiment.44 is a characteristic diagram showing the strength of each emotion ("joy," "anger," "sadness," and "happiness") at regular intervals in the eleventh embodiment. It is a functional block diagram of a sudden emotion change determination unit that determines whether or not there is a sudden change in emotion based on the characteristic diagram of FIG. 44. It is a control flowchart showing the flow of behavior execution processing executed by a behavior control system (behavior execution unit and behavior control unit). It is a schematic diagram showing an example of the hardware configuration of smart glasses and a smart pendant according to the twelfth embodiment. (A) is a control flowchart showing the flow of user response processing executed by an arbitration agent system installed in the smart glasses, and (B) is a control flowchart showing the flow of user response processing executed by a non-arbitration agent system installed in the smart pendant. It is a flowchart showing a specific example of user response processing executed in accordance with the flowchart of FIG. 48 in chronological order. It is a schematic diagram showing an example of the hardware configuration of an order terminal 3400 according to the thirteenth embodiment. It is a schematic diagram showing an example of the configuration of the storage 411 of the order terminal 3400 according to the thirteenth embodiment. It is a schematic diagram showing an example of the functional configuration of the order terminal 3400 according to the thirteenth embodiment. It is a schematic diagram showing an example of the flow of order processing according to the thirteenth embodiment. 13 shows an example of the flow of emotion determination processing according to the 13th embodiment. 14 shows an example of the flow of order processing according to Modification 1 of the 13th embodiment. 15 shows an example of the flow of order processing according to Modification 2 of the 13th embodiment. 16 shows an example of the flow of order processing according to Modification 3 of the 13th embodiment. 17 shows an example of the functional configuration of an agent system according to the 14th embodiment. 18 shows an example of dialogue in the agent system according to the 14th embodiment. 19 shows an example of dialogue in the agent system according to the 14th embodiment. 20 shows an example of the operation flow of an electronic device of a user 60 according to the 14th embodiment. 21 shows an example of the operation flow of another electronic device according to the 14th embodiment. 22 shows an example of the operation flow of an agent system 50 according to the 14th embodiment. 23 shows an example of the operation flow of an agent system 50 according to the 15th embodiment. 24 shows an example of the operation flow of an agent system 50 according to the 14th embodiment. 25 shows an example of the operation flow of an agent system 50 according to the 15th embodiment. 26 shows an example of the operation flow of an agent system 50 according to the 14th embodiment. 27 shows an example of the operation flow of an agent system 50 according to the 14th embodiment. 28 shows an example of the operation flow of an agent system 50 according to the 15th embodiment. 29 shows an example of the operation flow of an agent system 50 according to the 15th embodiment.

[0038] The present disclosure will be described below through embodiments of the invention, but the following embodiments do not limit the scope of the invention according to the claims. Furthermore, not all of the combinations of features described in the embodiments are necessarily essential to the solution of the invention.

[0039] First Embodiment FIG. 1 schematically illustrates an example of a system 5 according to a first embodiment. The system 5 includes a robot 100, a robot 101, a robot 102, and a server 300. A user 10a, a user 10b, a user 10c, and a user 10d are users of the robot 100. A user 11a, a user 11b, and a user 11c are users of the robot 101. A user 12a and a user 12b are users of the robot 102. In the description of this embodiment, the users 10a, the users 10b, the users 10c, and the users 10d may be collectively referred to as users 10. The users 11a, the users 11b, and the users 11c may be collectively referred to as users 11. The users 12a and the users 12b may be collectively referred to as users 12. The robots 101 and 102 have substantially the same functions as the robot 100. Therefore, the system 5 will be described mainly focusing on the functions of the robot 100.

[0040] The robot 100 converses with the user 10 and provides images to the user 10. At this time, the robot 100 cooperates with a server 300 or the like with which it can communicate via a communication network 20 to converse with the user 10 and provide images, etc. to the user 10. For example, the robot 100 not only learns appropriate conversation by itself, but also cooperates with the server 300 to learn how to have a more appropriate conversation with the user 10. The robot 100 also records captured image data, etc. of the user 10 in the server 300, and requests the image data, etc. from the server 300 as needed and provides it to the user 10.

[0041] The robot 100 also has an emotional value that indicates the type of its own emotion. For example, the robot 100 has emotional values ​​that indicate the intensity of each of the following emotions: "joy," "anger," "sorrow," "pleasure," "discomfort," "relief," "anxiety," "sadness," "excitement," "worry," "relief," "fulfillment," "emptiness," and "neutral." For example, when the robot 100 is in a state where the emotional value of excitement is high, the robot 100 speaks at a fast speed when conversing with the user 10. In this way, the robot 100 can express its own emotions through actions.

[0042] Furthermore, the robot 100 may be configured to match the sentence generation model with the emotion engine, thereby determining an action of the robot 100 corresponding to the emotion of the user 10. Specifically, the robot 100 may be configured to recognize the action of the user 10, determine the emotion of the user 10 in response to the user's action, and determine an action of the robot 100 corresponding to the determined emotion.

[0043] More specifically, when the robot 100 recognizes the behavior of the user 10, it automatically generates an action content that the robot 100 should take in response to the behavior of the user 10 using a preset sentence generation model. The sentence generation model may be interpreted as an algorithm and calculation for automatic dialogue processing using text. The sentence generation model is publicly known as disclosed in, for example, Japanese Patent Application Laid-Open No. 2018-081444 and chatGPT (Internet search <URL: https: / / openai.com / blog / chatgpt>), and therefore a detailed description thereof will be omitted. Such a sentence generation model is configured using a large language model (LLM).

[0044] As described above, in this embodiment, by combining a large-scale language model and an emotion engine, it is possible to reflect the emotions of the user 10 and the robot 100, as well as various linguistic information, in the behavior of the robot 100. In other words, according to this embodiment, by combining a sentence generation model and an emotion engine, a synergistic effect can be obtained.

[0045] The robot 100 also has a function of recognizing the behavior of the user 10. The robot 100 recognizes the behavior of the user 10 by analyzing a facial image of the user 10 acquired by a camera function and a voice of the user 10 acquired by a microphone function. The robot 100 determines the behavior to be performed by the robot 100 based on the recognized behavior of the user 10, etc.

[0046] The robot 100 stores rules that define the actions that the robot 100 will take based on the emotions of the user 10, the emotions of the robot 100, and the actions of the user 10, and performs various actions in accordance with the rules.

[0047] Specifically, the robot 100 has reaction rules for determining the behavior of the robot 100 based on the emotions of the user 10, the emotions of the robot 100, and the behavior of the user 10. For example, the reaction rules define the behavior of the robot 100 as "laughing" when the behavior of the user 10 is "laughing." Furthermore, the reaction rules define the behavior of the robot 100 as "apologizing" when the behavior of the user 10 is "angry." Furthermore, the reaction rules define the behavior of the robot 100 as "answering" when the behavior of the user 10 is "asking a question." Furthermore, the reaction rules define the behavior of the robot 100 as "calling out" when the behavior of the user 10 is "sad."

[0048] When the robot 100 recognizes that the behavior of the user 10 is "anger" based on the reaction rules, it selects the behavior of "apologizing" defined in the reaction rules as the behavior to be executed by the robot 100. For example, when the robot 100 selects the behavior of "apologizing," it performs the motion of "apologizing" and outputs a voice representing the words "apologize."

[0049] Furthermore, when the condition that the emotion of the robot 100 is "normal" (i.e., "joy" = 0, "anger" = 0, "sadness" = 0, "happiness" = 0) and the state of the user 10 is "alone and looks lonely" is satisfied, it is determined that the emotion of the robot 100 will change to "worried" and that the robot 100 will be able to perform the action of "calling out."

[0050] When the robot 100 recognizes based on the reaction rule that the current emotion of the robot 100 is "normal" and that the user 10 appears lonely, the robot 100 increases the emotion value of "sadness" of the robot 100. Furthermore, the robot 100 selects the action of "calling out" defined in the reaction rule as the action to be performed toward the user 10. For example, when the robot 100 selects the action of "calling out," the robot 100 converts the phrase "What's wrong?", which indicates concern, into a worried voice and outputs it.

[0051] The robot 100 also transmits to the server 300 user reaction information indicating that this action has elicited a positive reaction from the user 10. The user reaction information includes, for example, the user action of "getting angry," the robot 100 action of "apologizing," the fact that the user 10's reaction was positive, and the attributes of the user 10.

[0052] The server 300 stores the user reaction information received from the robot 100. The server 300 receives and stores user reaction information not only from the robot 100 but also from each of the robots 101 and 102. The server 300 then analyzes the user reaction information from the robots 100, 101, and 102 and updates the reaction rules.

[0053] The robot 100 receives the updated reaction rules from the server 300 by inquiring about the updated reaction rules from the server 300. The robot 100 incorporates the updated reaction rules into the reaction rules stored in the robot 100. This allows the robot 100 to incorporate the reaction rules acquired by the robot 101, the robot 102, etc. into its own reaction rules.

[0054] 2 shows a schematic functional configuration of the robot 100. The robot 100 has a sensor unit 200, a sensor module unit 210, a storage unit 220, a user state recognition unit 230, an emotion determination unit 232, a behavior recognition unit 234, a behavior determination unit 236, a memory control unit 238, a behavior control unit 250, a control target 252, and a communication processing unit 280.

[0055] The control object 252 includes a display device, a speaker, LEDs in the eyes, and motors for driving the arms, hands, and feet. The posture and gestures of the robot 100 are controlled by controlling the motors of the arms, hands, and feet. Some of the emotions of the robot 100 can be expressed by controlling these motors. Furthermore, the facial expressions of the robot 100 can also be expressed by controlling the light emission state of the LEDs in the eyes of the robot 100. The posture, gestures, and facial expressions of the robot 100 are examples of the attitude of the robot 100.

[0056] The sensor unit 200 includes a microphone 201, a 3D depth sensor 202, a 2D camera 203, and a distance sensor 204. The microphone 201 continuously detects sound and outputs audio data. The microphone 201 may be provided on the head of the robot 100 and may have a binaural recording function. The 3D depth sensor 202 continuously emits an infrared pattern and detects the contour of an object by analyzing the infrared pattern from infrared images continuously captured by the infrared camera. The 2D camera 203 is an example of an image sensor. The 2D camera 203 captures images using visible light and generates visible light video information. The distance sensor 204 detects the distance to an object by emitting, for example, a laser or ultrasonic waves. The sensor unit 200 may also include a clock, a gyro sensor, a touch sensor, a sensor for motor feedback, etc.

[0057] 2, the components of the robot 100 excluding the control target 252 and the sensor unit 200 are examples of components included in the behavior control system of the robot 100. The behavior control system of the robot 100 controls the control target 252.

[0058] The storage unit 220 includes reaction rules 221 and history data 222. The history data 222 includes the user 10's past emotional values ​​and behavioral history. This emotional value and behavioral history is recorded for each user 10, for example, by being associated with the user 10's identification information. At least a portion of the storage unit 220 is implemented as a storage medium such as a memory. It may also include a person DB that stores the user 10's facial image, attribute information, etc. Note that the functions of the components of the robot 100 shown in FIG. 2 , excluding the control target 252, the sensor unit 200, and the storage unit 220, can be realized by a CPU operating based on a program. For example, the functions of these components can be implemented as CPU operations using operating system (OS) and programs running on the OS.

[0059] The sensor module unit 210 includes a voice emotion recognition unit 211, a speech understanding unit 212, a facial expression recognition unit 213, and a face recognition unit 214. Information detected by the sensor unit 200 is input to the sensor module unit 210. The sensor module unit 210 analyzes the information detected by the sensor unit 200 and outputs the analysis result to the user state recognition unit 230.

[0060] The voice emotion recognition unit 211 of the sensor module unit 210 analyzes the voice of the user 10 detected by the microphone 201 and recognizes the emotion of the user 10. For example, the voice emotion recognition unit 211 extracts feature quantities such as frequency components of the voice and recognizes the emotion of the user 10 based on the extracted feature quantities. The speech understanding unit 212 analyzes the voice of the user 10 detected by the microphone 201 and outputs text information representing the content of the utterance of the user 10.

[0061] The facial expression recognition unit 213 recognizes the facial expression and emotion of the user 10 from the image of the user 10 captured by the 2D camera 203. For example, the facial expression recognition unit 213 recognizes the facial expression and emotion of the user 10 based on the shapes, positional relationships, etc. of the eyes and mouth.

[0062] The face recognition unit 214 recognizes the face of the user 10. The face recognition unit 214 recognizes the user 10 by matching a face image stored in a person DB (not shown) with the face image of the user 10 captured by the 2D camera 203.

[0063] The user state recognition unit 230 recognizes the state of the user 10 based on the information analyzed by the sensor module unit 210. For example, it mainly performs processing related to perception using the analysis results of the sensor module unit 210. For example, it generates perceptual information such as "Dad is alone" or "There is a 90% chance that Dad is not smiling." It then performs processing to understand the meaning of the generated perceptual information. For example, it generates semantic information such as "Dad is alone and looks lonely."

[0064] The emotion determination unit 232 determines an emotion value indicating the emotion of the user 10 based on the information analyzed by the sensor module unit 210 and the state of the user 10 recognized by the user state recognition unit 230. For example, the information analyzed by the sensor module unit 210 and the recognized state of the user 10 are input into a pre-trained neural network to obtain an emotion value indicating the emotion of the user 10.

[0065] Here, the emotion value indicating the emotion of the user 10 is a value indicating the positive or negative emotion of the user. For example, if the user's emotion is a cheerful emotion accompanied by a sense of pleasure or comfort, such as "joy," "pleasure," "comfort," "relief," "excitement," "relief," and "fulfillment," the value is positive, and the more cheerful the emotion, the larger the value. If the user's emotion is a negative emotion, such as "anger," "sorrow," "discomfort," "anxiety," "sorrow," "worry," and "emptiness," the value is negative, and the more unpleasant the emotion, the larger the absolute value of the negative value. If the user's emotion is none of the above ("neutral"), the value is 0.

[0066] Furthermore, the emotion determination unit 232 determines an emotion value indicating the emotion of the robot 100 based on the information analyzed by the sensor module unit 210 and the state of the user 10 recognized by the user state recognition unit 230. The emotion value of the robot 100 includes emotion values ​​for each of a plurality of emotion categories, and is a value (0 to 5) indicating the strength of each of, for example, "joy," "anger," "sadness," and "happiness."

[0067] Specifically, the emotion determination unit 232 determines an emotion value indicating the emotion of the robot 100 in accordance with a rule for updating the emotion value of the robot 100, which rule is determined in association with the information analyzed by the sensor module unit 210 and the state of the user 10 recognized by the user state recognition unit 230.

[0068] For example, when the user state recognition unit 230 recognizes that the user 10 looks lonely, the emotion determination unit 232 increases the emotion value of "sadness" of the robot 100. When the user state recognition unit 230 recognizes that the user 10 is smiling, the emotion determination unit 232 increases the emotion value of "joy" of the robot 100.

[0069] The emotion determining unit 232 may determine the emotion value indicating the emotion of the robot 100 by further considering the state of the robot 100. For example, when the remaining battery power of the robot 100 is low or when the surrounding environment of the robot 100 is pitch black, the emotion value of "sadness" of the robot 100 may be increased. Furthermore, when the user 10 continues to talk to the robot 100 despite the remaining battery power being low, the emotion value of "anger" may be increased.

[0070] The behavior recognition unit 234 recognizes the behavior of the user 10 based on the information analyzed by the sensor module unit 210 and the state of the user 10 recognized by the user state recognition unit 230. For example, the information analyzed by the sensor module unit 210 and the recognized state of the user 10 are input into a pre-trained neural network, the probability of each of a plurality of predetermined behavior categories (for example, "laughing," "angry," "asking a question," and "sad") is obtained, and the behavior category with the highest probability is recognized as the behavior of the user 10.

[0071] As described above, in this embodiment, the robot 100 identifies the user 10 and then acquires the content of the user's utterance. When acquiring and using the content of the utterance, the robot 100 obtains the necessary consent in accordance with laws and regulations from the user 10, and the behavior control system of the robot 100 according to this embodiment takes into consideration the protection of the personal information and privacy of the user 10.

[0072] The behavior determination unit 236 determines a behavior corresponding to the behavior of the user 10 recognized by the behavior recognition unit 234 based on the current emotion value of the user 10 determined by the emotion determination unit 232, history data 222 of past emotion values ​​determined by the emotion determination unit 232 before the current emotion value of the user 10 was determined, and the emotion value of the robot 100. In this embodiment, a case is described in which the behavior determination unit 236 uses one most recent emotion value included in the history data 222 as the past emotion value of the user 10, but the disclosed technology is not limited to this aspect. For example, the behavior determination unit 236 may use multiple most recent emotion values ​​as the past emotion value of the user 10, or may use an emotion value from a unit period ago, such as one day ago. Furthermore, the behavior determination unit 236 may determine a behavior corresponding to the behavior of the user 10 by further considering not only the current emotion value of the robot 100 but also the history of the past emotion values ​​of the robot 100. The behavior determined by the behavior determining unit 236 includes gestures made by the robot 100 or speech content of the robot 100 .

[0073] The behavior determination unit 236 according to this embodiment determines the behavior of the robot 100 as a behavior corresponding to the behavior of the user 10, based on a combination of the past and current emotional values ​​of the user 10, the emotional value of the robot 100, the behavior of the user 10, and the reaction rules 221. For example, if the past emotional value of the user 10 is a positive value and the current emotional value is a negative value, the behavior determination unit 236 determines, as a behavior corresponding to the behavior of the user 10, an behavior that will change the emotional value of the user 10 to a positive value.

[0074] The reaction rule 221 defines the behavior of the robot 100 according to a combination of the past emotional value and the current emotional value of the user 10, the emotional value of the robot 100, and the behavior of the user 10. For example, if the past emotional value of the user 10 is a positive value and the current emotional value is a negative value, and the user 10 is behaving sadly, a combination of gestures and speech content when asking a question to encourage the user 10 with gestures is defined as the behavior of the robot 100.

[0075] For example, the reaction rule 221 defines behaviors of the robot 100 for all combinations of patterns of the robot 100's emotional values ​​(1296 patterns, which is the fourth power of six values ​​from "0" to "5" for "joy," "anger," "sadness," and "happiness"), patterns of combinations of the user 10's past emotional values ​​and current emotional values, and behavioral patterns of the user 10. That is, for each pattern of the robot 100's emotional values, behaviors of the robot 100 corresponding to the user 10's behavioral patterns are defined for each of a plurality of combinations of the user 10's past emotional values ​​and current emotional values, such as negative and negative values, negative and positive values, positive and negative values, positive and positive values, negative and normal values, and normal and normal values. Note that the behavior determination unit 236 may transition to an operation mode that determines the behavior of the robot 100 using the history data 222 when the user 10 makes an utterance intending to continue a conversation from a past topic, such as "I want to talk about that topic we talked about last time." The reaction rule 221 may define at least one of a gesture and a statement as the behavior of the robot 100 for each of the patterns (1296 patterns) of the emotional value of the robot 100. Alternatively, the reaction rule 221 may define at least one of a gesture and a statement as the behavior of the robot 100 for each group of patterns of the emotional value of the robot 100.

[0076] The strength of each gesture included in the behavior of the robot 100 defined in the reaction rule 221 is predetermined. The strength of each utterance included in the behavior of the robot 100 defined in the reaction rule 221 is predetermined.

[0077] The storage control unit 238 determines whether or not to store data including the behavior of the user 10 in the history data 222, based on the predetermined behavior intensity for the behavior determined by the behavior determination unit 236 and the emotion value of the robot 100 determined by the emotion determination unit 232. Specifically, if the total value of the intensities, which is the sum of the sum of the emotion values ​​for each of the multiple emotion classifications of the robot 100, the predetermined intensity for the gesture included in the behavior determined by the behavior determination unit 236, and the predetermined intensity for the content of the utterance included in the behavior determined by the behavior determination unit 236, is equal to or greater than a threshold, the storage control unit 238 determines to store data including the behavior of the user 10 in the history data 222.

[0078] When the memory control unit 238 decides to store data including the behavior of the user 10 in the history data 222, it stores in the history data 222 the behavior determined by the behavior determination unit 236, information analyzed by the sensor module unit 210 from the present time up to a certain period of time ago (for example, all peripheral information such as data on the sound, images, smells, etc. of the scene), and the state of the user 10 recognized by the user state recognition unit 230 (for example, the facial expression, emotions, etc. of the user 10).

[0079] The behavior control unit 250 controls the control target 252 based on the behavior determined by the behavior determination unit 236. For example, when the behavior determination unit 236 determines an behavior including speaking, the behavior control unit 250 outputs a sound from a speaker included in the control target 252. At this time, the behavior control unit 250 may determine the speaking rate of the sound based on the emotional value of the robot 100. For example, the behavior control unit 250 determines a faster speaking rate as the emotional value of the robot 100 increases. In this way, the behavior control unit 250 determines the execution form of the behavior determined by the behavior determination unit 236 based on the emotional value determined by the emotional determination unit 232.

[0080] The behavior control unit 250 may recognize a change in the user 10's emotion in response to the execution of the behavior determined by the behavior determination unit 236. For example, the change in emotion may be recognized based on the voice or facial expression of the user 10. Alternatively, the change in emotion of the user 10 may be recognized based on the detection of an impact by a touch sensor included in the sensor unit 200. If an impact is detected by the touch sensor included in the sensor unit 200, the behavior control unit 250 may recognize that the user 10's emotion has worsened. Alternatively, if the detection result of the touch sensor included in the sensor unit 200 indicates that the user 10 is smiling, happy, or the like, the behavior control unit 250 may recognize that the user 10's emotion has improved. Information indicating the user 10's reaction is output to the communication processing unit 280.

[0081] Furthermore, after the behavior control unit 250 executes the behavior determined by the behavior determination unit 236 in the execution mode determined according to the emotion of the robot 100, the emotion determination unit 232 further changes the emotion value of the robot 100 based on the user's reaction to the execution of the behavior. Specifically, the emotion determination unit 232 increases the emotion value of "joy" of the robot 100 when the user's reaction to the behavior determined by the behavior determination unit 236 being performed in the execution mode determined by the behavior control unit 250 is not negative. Furthermore, the emotion determination unit 232 increases the emotion value of "sad" of the robot 100 when the user's reaction to the behavior determined by the behavior determination unit 236 being performed in the execution mode determined by the behavior control unit 250 is negative.

[0082] Furthermore, the behavior control unit 250 expresses the emotion of the robot 100 based on the determined emotion value of the robot 100. For example, when the emotion value of "happiness" of the robot 100 is increased, the behavior control unit 250 controls the control object 252 to make the robot 100 perform a happy gesture. When the emotion value of "sadness" of the robot 100 is increased, the behavior control unit 250 controls the control object 252 to make the robot 100 assume a droopy posture.

[0083] The communication processing unit 280 is responsible for communication with the server 300. As described above, the communication processing unit 280 transmits user reaction information to the server 300. The communication processing unit 280 also receives updated reaction rules from the server 300. When the communication processing unit 280 receives the updated reaction rules from the server 300, it updates the reaction rules 221.

[0084] The server 300 communicates between the robots 100, 101, and 102 and the server 300, receives user reaction information sent from the robot 100, and updates the reaction rules based on reaction rules that include actions that have received positive reactions.

[0085] 3 shows an example of an operation flow for determining the behavior of the robot 100. The operation flow shown in FIG. 3 is repeatedly executed. At this time, it is assumed that information analyzed by the sensor module unit 210 is input. Note that "S" in the operation flow indicates the step that is executed.

[0086] First, in step S100 , the user state recognition unit 230 recognizes the state of the user 10 based on the information analyzed by the sensor module unit 210 .

[0087] In step S102 , the emotion determination unit 232 determines an emotion value indicating the emotion of the user 10 based on the information analyzed by the sensor module unit 210 and the state of the user 10 recognized by the user state recognition unit 230 .

[0088] In step S103, the emotion determination unit 232 determines an emotion value indicating the emotion of the robot 100 based on the information analyzed by the sensor module unit 210 and the state of the user 10 recognized by the user state recognition unit 230. The emotion determination unit 232 adds the determined emotion value of the user 10 to the history data 222.

[0089] In step S104 , the behavior recognition unit 234 recognizes the behavior classification of the user 10 based on the information analyzed by the sensor module unit 210 and the state of the user 10 recognized by the user state recognition unit 230 .

[0090] In step S106, the behavior determination unit 236 determines the behavior of the robot 100 based on a combination of the current emotional value of the user 10 determined in step S102 and the past emotional values ​​included in the history data 222, the emotional value of the robot 100, the behavior of the user 10 recognized by the behavior recognition unit 234, and the reaction rules 221.

[0091] In step S108, the behavior control unit 250 controls the control target 252 based on the behavior determined by the behavior determination unit 236.

[0092] In step S110, the memory control unit 238 calculates a total intensity value based on the predetermined action intensity for the action determined by the action determination unit 236 and the emotion value of the robot 100 determined by the emotion determination unit 232.

[0093] In step S112, the storage control unit 238 determines whether the total intensity value is equal to or greater than a threshold. If the total intensity value is less than the threshold, the processing ends without storing data including the behavior of the user 10 in the history data 222. On the other hand, if the total intensity value is equal to or greater than the threshold, the processing proceeds to step S114.

[0094] In step S114, the behavior determined by the behavior determination unit 236, the information analyzed by the sensor module unit 210 from the present time up to a certain period of time ago, and the state of the user 10 recognized by the user state recognition unit 230 are stored in the history data 222.

[0095] As described above, the robot 100 determines an emotion value indicating the emotion of the robot 100 based on the user state, and determines whether to store data including the behavior of the user 10 in the history data 222 based on the emotion value of the robot 100. This makes it possible to reduce the capacity of the history data 222 that stores data including the behavior of the user 10. For example, when the robot 100 determines that the user state 10 years from now will be the same as that 10 years ago, the robot 100 can read the history data 222 from 10 years ago and present to the user 10 all kinds of peripheral information, such as the state of the user 10 from 10 years ago (e.g., the facial expression, emotions, etc. of the user 10), as well as data on the sounds, images, smells, etc. of the situation.

[0096] Furthermore, the robot 100 can be made to perform an appropriate action in response to the user's 10 action. Conventionally, the user's actions are classified and the robot's actions, including facial expressions and posture, are determined. In contrast, the robot 100 determines the user's current emotional value and performs an action on the user 10 based on the past and current emotional values. Therefore, for example, if the user 10 was cheerful yesterday but is depressed today, the robot 100 can utter, "You were cheerful yesterday, but what's up with you today?" The robot 100 can also utter with gestures. For example, if the user 10 was depressed yesterday but is cheerful today, the robot 100 can utter, "You were depressed yesterday, but you seem cheerful today, don't you?" For example, if the user 10 was cheerful yesterday but is more cheerful today than yesterday, the robot 100 can utter, "You're more cheerful today than yesterday. Has anything better happened than yesterday?" Furthermore, for example, the robot 100 can say to a user 10 whose emotional value is equal to or greater than 0 and whose emotional value fluctuation range continues to be within a certain range, "You've been feeling stable lately, which is good."

[0097] Furthermore, for example, the robot 100 can ask the user 10, "Did you finish the homework you told me about yesterday?" and, if the user 10 replies, "Yes, I did," make a positive utterance such as "Great!" and perform a positive gesture such as clapping or a thumbs-up. Furthermore, for example, if the user 10 utters, "The presentation you gave the day before yesterday went well," the robot 100 can make a positive utterance such as "Good job!" and perform the above-mentioned positive gesture. In this way, the robot 100 can be expected to make the user 10 feel a sense of affinity with the robot 100 by performing an action based on the state history of the user 10.

[0098] In the above embodiment, the robot 100 recognizes the user 10 using a facial image of the user 10. However, the disclosed technology is not limited to this. For example, the robot 100 may recognize the user 10 using a voice uttered by the user 10, an email address of the user 10, an SNS ID of the user 10, an ID card with a built-in wireless IC tag that the user 10 has, or the like.

[0099] The robot 100 is an example of an electronic device equipped with a behavior control system. The application of the behavior control system is not limited to the robot 100, and the behavior control system can be applied to various electronic devices. Furthermore, the functions of the server 300 may be implemented by one or more computers. At least some of the functions of the server 300 may be implemented by a virtual machine. Furthermore, at least some of the functions of the server 300 may be implemented in the cloud.

[0100] 4 schematically shows an example of the hardware configuration of a computer 1200 that functions as the robot 100 and the server 300. A program installed on the computer 1200 can cause the computer 1200 to function as one or more "parts" of an apparatus according to the present embodiment, or can cause the computer 1200 to perform operations associated with the apparatus according to the present embodiment or one or more "parts" thereof, and / or can cause the computer 1200 to perform a process according to the present embodiment or steps of the process. Such a program can be executed by the CPU 1212 to cause the computer 1200 to perform specific operations associated with some or all of the blocks in the flowcharts and block diagrams described herein.

[0101] The computer 1200 according to this embodiment includes a CPU 1212, a RAM 1214, and a graphics controller 1216, which are interconnected by a host controller 1210. The computer 1200 also includes input / output units such as a communications interface 1222, a storage device 1224, a DVD drive 1226, and an IC card drive, which are connected to the host controller 1210 via an input / output controller 1220. The DVD drive 1226 may be a DVD-ROM drive, a DVD-RAM drive, or the like. The storage device 1224 may be a hard disk drive, a solid-state drive, or the like. The computer 1200 also includes a ROM 1230 and a legacy input / output unit such as a keyboard, which are connected to the input / output controller 1220 via an input / output chip 1240.

[0102] The CPU 1212 operates according to programs stored in the ROM 1230 and the RAM 1214, thereby controlling each unit. The graphics controller 1216 acquires image data generated by the CPU 1212 into a frame buffer or the like provided in the RAM 1214 or into the graphics controller 1216 itself, and causes the image data to be displayed on the display device 1218.

[0103] The communication interface 1222 communicates with other electronic devices via a network. The storage device 1224 stores programs and data used by the CPU 1212 in the computer 1200. The DVD drive 1226 reads programs or data from a DVD-ROM 1227 or the like and provides them to the storage device 1224. The IC card drive reads programs and data from an IC card and / or writes programs and data to an IC card.

[0104] The ROM 1230 stores therein a boot program or the like that is executed by the computer 1200 upon activation, and / or programs that depend on the hardware of the computer 1200. The input / output chip 1240 may also connect various input / output units to the input / output controller 1220 via a USB port, a parallel port, a serial port, a keyboard port, a mouse port, etc.

[0105] The programs are provided by a computer-readable storage medium such as a DVD-ROM 1227 or an IC card. The programs are read from the computer-readable storage medium, installed in the storage device 1224, RAM 1214, or ROM 1230, which are also examples of computer-readable storage media, and executed by the CPU 1212. Information processing described in these programs is read by the computer 1200, and brings about cooperation between the programs and the various types of hardware resources described above. An apparatus or a method may be configured by implementing operations or processing of information in accordance with the use of the computer 1200.

[0106] For example, when communication is performed between computer 1200 and an external device, CPU 1212 may execute a communication program loaded into RAM 1214 and instruct communication interface 1222 to perform communication processing based on the processing described in the communication program. Under the control of CPU 1212, communication interface 1222 reads transmission data stored in a transmission buffer area provided in RAM 1214, storage device 1224, DVD-ROM 1227, or a recording medium such as an IC card, and transmits the read transmission data to a network, or writes received data received from the network to a reception buffer area or the like provided on the recording medium.

[0107] Furthermore, the CPU 1212 may cause all or a necessary portion of a file or database stored in an external recording medium such as the storage device 1224, the DVD drive 1226 (DVD-ROM 1227), an IC card, etc. to be read into the RAM 1214, and may perform various types of processing on the data on the RAM 1214. The CPU 1212 may then write back the processed data to the external recording medium.

[0108] Various types of information, such as various types of programs, data, tables, and databases, may be stored on the recording medium and may undergo information processing. The CPU 1212 may perform various types of processing on data read from the RAM 1214, including various types of operations, information processing, conditional judgment, conditional branching, unconditional branching, information search / replacement, etc., as described throughout this disclosure and specified by the instruction sequences of the programs, and write the results back to the RAM 1214. The CPU 1212 may also search for information in a file, database, etc. on the recording medium. For example, if multiple entries, each having an attribute value of a first attribute associated with an attribute value of a second attribute, are stored on the recording medium, the CPU 1212 may search for an entry whose attribute value of the first attribute matches a specified condition from among the multiple entries, read the attribute value of the second attribute stored in the entry, and thereby obtain the attribute value of the second attribute associated with the first attribute that satisfies a predetermined condition.

[0109] The above-described programs or software modules may be stored in a computer-readable storage medium on or near the computer 1200. A recording medium such as a hard disk or RAM provided in a server system connected to a dedicated communication network or the Internet can also be used as a computer-readable storage medium, thereby providing the programs to the computer 1200 via the network.

[0110] The blocks in the flowcharts and block diagrams in the present embodiments may represent stages of a process in which an operation is performed or "parts" of a device responsible for performing the operation. Particular stages and "parts" may be implemented by dedicated circuitry, programmable circuitry provided with computer-readable instructions stored on a computer-readable storage medium, and / or a processor provided with computer-readable instructions stored on a computer-readable storage medium. The dedicated circuitry may include digital and / or analog hardware circuits, and may include integrated circuits (ICs) and / or discrete circuits. The programmable circuitry may include reconfigurable hardware circuits, such as field programmable gate arrays (FPGAs) and programmable logic arrays (PLAs), including AND, OR, XOR, NAND, NOR, and other logical operations, flip-flops, registers, and memory elements.

[0111] A computer-readable storage medium may include any tangible device capable of storing instructions that are executed by an appropriate device, such that a computer-readable storage medium having instructions stored thereon comprises an article of manufacture, including instructions that can be executed to create means for performing the operations specified in the flowcharts or block diagrams. Examples of computer-readable storage media may include electronic, magnetic, optical, electromagnetic, and semiconductor storage media. More specific examples of computer-readable storage media may include floppy disks, diskettes, hard disks, random access memories (RAMs), read-only memories (ROMs), erasable programmable read-only memories (EPROMs or flash memories), electrically erasable programmable read-only memories (EEPROMs), static random access memories (SRAMs), compact disc read-only memories (CD-ROMs), digital versatile discs (DVDs), Blu-ray discs, memory sticks, integrated circuit cards, and the like.

[0112] The computer readable instructions may include either assembler instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state-setting data, or source or object code written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Smalltalk, JAVA, C++, etc., and conventional procedural programming languages ​​such as the "C" programming language or similar programming languages.

[0113] Computer-readable instructions may be provided locally or over a local area network (LAN), a wide area network (WAN) such as the Internet, to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, or programmable circuitry, such that the processor or programmable circuitry executes the computer-readable instructions to generate means for performing the operations specified in the flowcharts or block diagrams. Examples of processors include computer processors, processing units, microprocessors, digital signal processors, controllers, microcontrollers, etc.

[0114] Although the present disclosure has been described above using embodiments, the technical scope of the present invention is not limited to the scope described in the above embodiments. It will be apparent to those skilled in the art that various modifications and improvements can be made to the above embodiments. It is clear from the claims that such modifications and improvements can also be included within the technical scope of the present invention.

[0115] It should be noted that the execution order of each process, such as operations, procedures, steps, and stages, in the devices, systems, programs, and methods shown in the claims, specifications, and drawings is not specifically stated as "before," "prior to," etc., and that the processes can be performed in any order unless the output of a previous process is used in a later process. Even if the operational flow in the claims, specifications, and drawings is described using "first," "next," etc. for convenience, this does not mean that the processes must be performed in this order.

[0116] The emotion determining unit 232 may determine the emotion of the user according to a specific mapping. Specifically, the emotion determining unit 232 may determine the emotion of the user according to an emotion map (see FIG. 5 ), which is a specific mapping.

[0117] FIG. 5 is a diagram illustrating an emotion map 300 on which multiple emotions are mapped. In the emotion map 300, emotions are arranged in concentric circles radiating from the center. Emotions closer to the center of the concentric circles are more primitive. Emotions representing states and actions arising from a state of mind are arranged on the outer edges of the concentric circles. The concept of emotion includes both affect and mental state. Emotions generally generated from reactions occurring in the brain are arranged on the left side of the concentric circles. Emotions generally induced by situational judgment are arranged on the right side of the concentric circles. Emotions generally generated from reactions occurring in the brain and induced by situational judgment are arranged on the upper and lower sides of the concentric circles. Furthermore, the emotion of "pleasure" is arranged on the upper side of the concentric circles, and the emotion of "discomfort" is arranged on the lower side. In this way, in the emotion map 300, multiple emotions are mapped based on the structure by which emotions are generated, and emotions that tend to occur simultaneously are mapped close to each other.

[0118] (1) For example, if the emotion engine, which is the emotion determination unit 232 of the robot 100, detects emotions at approximately 100 msec, the frequency of determining the reaction action of the robot 100 (for example, a backchannel) may be set at a timing at least equal to the detection frequency (100 msec) of the emotion engine, or may be set at a timing earlier than this. The detection frequency of the emotion engine may be interpreted as a sampling rate.

[0119] By detecting emotions within about 100 msec and immediately performing a corresponding reaction (e.g., a backchannel), unnatural backchannels are eliminated, enabling a natural, well-read dialogue. The reaction (e.g., a backchannel) is performed according to the directionality and degree (strength) of the mandala in the robot's 100 emotion map 300. Note that the detection frequency (sampling rate) of the emotion engine is not limited to 100 ms and may be changed depending on the situation (e.g., when playing sports), the user's age, etc.

[0120] (2) The directionality and intensity of emotions may be set in advance in reference to the emotion map 300, and the movement of the interjections and the strength of the interjections may be set. For example, if the robot 100 feels a sense of stability or security, the robot 100 may nod and continue listening. If the robot 100 feels anxious, confused, or suspicious, the robot 100 may tilt its head or stop shaking its head.

[0121] These emotions are distributed in the three o'clock direction of emotion map 300, and usually fluctuate between relief and anxiety. In the right half of emotion map 300, situational awareness dominates over internal sensations, resulting in a sense of calm.

[0122] (3) If the robot 100 receives a compliment and feels good, the filler "ah" may be inserted before the line, and if the robot 100 receives harsh words and feels pain, the filler "ugh!" may be inserted before the line. A physical reaction, such as the robot 100 crouching down while saying "ugh!", may also be included. These emotions are distributed around 9 o'clock on the emotion map 300.

[0123] (4) In the left half of the emotion map 300, internal sensations (reactions) are more important than situational awareness. This can give the impression of an unconscious reaction.

[0124] When the robot 100 feels a positive feeling in its situational awareness while experiencing an internal sensation (reaction) of understanding, the robot 100 may nod deeply while looking at the other person, or may say "uh-huh." In this way, the robot 100 may generate a behavior that shows a balanced positive feeling toward the other person, that is, tolerance and tolerance toward the other person. Such emotions are distributed around 12 o'clock on the emotion map 300.

[0125] Conversely, even when the robot 100 is aware of an internal sensation (reaction) of discomfort, it may shake its head when it feels disgust, or turn its eye LEDs red and glare at the other person when it feels hatred. These emotions are distributed around the 6 o'clock position on the emotion map 300.

[0126] (5) The inside of the emotion map 300 represents what is going on in the mind, and the outside of the emotion map 300 represents behavior. Therefore, the further you go outside the emotion map 300, the more visible the emotion becomes (the more it is expressed in behavior).

[0127] (6) When listening to someone while feeling a sense of security, which is distributed around 3 o'clock on the emotion map 300, the robot 100 may nod its head lightly and say "hmm." However, when listening to someone while feeling a sense of love, which is distributed around 12 o'clock, the robot 100 may nod its head strongly.

[0128] The emotion determination unit 232 inputs the information analyzed by the sensor module unit 210 and the recognized state of the user 10 into a pre-trained neural network, obtains emotion values ​​indicating each emotion shown in the emotion map 300, and determines the emotion of the user 10. This neural network is pre-trained based on multiple pieces of training data that are combinations of the information analyzed by the sensor module unit 210, the recognized state of the user 10, and emotion values ​​indicating each emotion shown in the emotion map 300. Furthermore, this neural network is trained so that emotions that are located close to each other have similar values, as in the emotion map 900 shown in Figure 6. Figure 6 shows an example in which multiple emotions, such as "relieved," "calm," and "reassuring," have similar emotion values.

[0129] Furthermore, the emotion determination unit 232 may determine the emotion of the robot 100 according to a specific mapping. Specifically, the emotion determination unit 232 inputs the information analyzed by the sensor module unit 210, the state of the user 10 recognized by the user state recognition unit 230, and the state of the robot 100 into a pre-trained neural network, obtains emotion values ​​indicating each emotion shown in the emotion map 300, and determines the emotion of the robot 100. This neural network is pre-trained based on a plurality of learning data that are combinations of the information analyzed by the sensor module unit 210, the recognized state of the user 10, and the state of the robot 100, and emotion values ​​indicating each emotion shown in the emotion map 300. For example, the neural network is trained based on learning data indicating that when the robot 100 recognizes from the output of a touch sensor (not shown) that it is being stroked by the user 10, the emotional value of "happy" is "3," and based on learning data indicating that when the robot 100 recognizes from the output of an acceleration sensor (not shown) that it is being hit by the user 10, the emotional value of "anger" is "3." Furthermore, this neural network is trained so that emotions that are located close to each other have similar values, as in the emotion map 900 shown in FIG. 6 .

[0130] The behavior determination unit 236 generates the robot's behavior content by adding fixed sentences to ask about the robot's behavior content corresponding to the user's behavior to text representing the user's behavior, the user's emotions, and the robot's emotions, and inputting the text into the dialogue function.

[0131] For example, the behavior determination unit 236 obtains text representing the state of the robot 100 from the emotion of the robot 100 determined by the emotion determination unit 232, using an emotion table such as that shown in Table 1. Here, in the emotion table, an index number is assigned to each emotion value for each type of emotion, and text representing the state of the robot 100 is stored for each index number.

[0132] When the emotion of the robot 100 determined by the emotion determination unit 232 corresponds to the index number "2", the text "very happy state" is obtained. When the emotions of the robot 100 correspond to multiple index numbers, multiple texts representing the state of the robot 100 are obtained.

[0133] An emotion table such as that shown in Table 2 is also prepared for the emotions of the user 10. Here, if the user's behavior is speaking "***", the emotion of the robot 100 is index number "2", and the emotion of the user 10 is index number "3", then the following is input into the sentence generation model, and the content of the robot's behavior is obtained. The behavior determination unit 236 determines the robot's behavior from this content of the behavior.

[0134]

[0135]

[0136] In this way, the robot 100 can change its behavior according to the index number corresponding to the robot's emotion, so that the user gets the impression that the robot has a heart, and is encouraged to take actions such as talking to the robot.

[0137] Furthermore, the behavior determination unit 236 may generate the robot's behavior content by adding not only text representing the user's behavior, the user's emotions, and the robot's emotions, but also text representing the contents of the history data 222, adding a fixed sentence for asking about the robot's behavior corresponding to the user's behavior, and inputting the result into a sentence generation model with a dialogue function. This allows the robot 100 to change its behavior in accordance with the history data representing the user's emotions and behavior, giving the user the impression that the robot has individuality and encouraging the user to take actions such as talking to the robot. Furthermore, the history data may further include the robot's emotions and actions.

[0138] The robot 100 may be mounted on a stuffed toy, or may be applied to a control device connected wirelessly or by wire to a control target device (speaker or camera) mounted on the stuffed toy.

[0139] In the above explanation, an example has been given in which the behavior control system is applied to a robot 100, but the present invention is not limited to this. Figure 7 is a functional block diagram of an agent system 50 configured using some or all of the functions of the behavior control system. The agent system 50 is a computer system that performs a series of actions in accordance with the intentions of the user 10 through dialogue with the user 10. The dialogue with the user 10 can be carried out by voice or text.

[0140] The agent system 50 may be installed in, for example, a robot, a doll, a stuffed animal, a pendant, a smart watch, a smartphone, a smart speaker, earphones, a camera, a personal computer, etc. The agent system 50 may also be implemented on a web server and used via a web browser running on a communication terminal such as a smartphone owned by the user.

[0141] The agent system 50 acts as, for example, a butler, secretary, teacher, partner, friend, lover, or instructor for the user 10. The agent system 50 not only interacts with the user 10, but also provides advice, guides the user to a destination, or makes recommendations based on the user's preferences. The agent system 50 also makes reservations, orders, or makes payments to the service provider 70.

[0142] The agent system 50 is equipped with an emotion engine 53, which determines the emotions of the user 10 and the agent's own emotions, and acts on behalf of the user 10 while taking into account the emotions of the user 10 and the agent. Here, the agent is an agent that runs on software. That is, the agent system 50 understands the emotions of the user 10, reads the mood, and provides heartfelt support, assistance, advice, and services. The agent system 50 also listens to the user's concerns, comforts, encourages, and cheers them up. The agent system 50 also plays with the user 10, draws picture diaries, and reminds them of the past. The agent system 50 acts in a way that increases the user's sense of happiness.

[0143] The agent system 50 includes a dialogue processing unit 51 , a character setting unit 52 , an emotion engine 53 , a dialogue history storage unit 54 , a sentence generation model 55 , a command acquisition unit 56 , and an RPA (Robotic Process Automation) 57 .

[0144] The dialogue processing unit 51 includes a behavior decision unit 236 that performs processing related to speech, and a behavior control unit 250. The dialogue processing unit 51 generates the content of an utterance to be made by the agent for a dialogue with the user 10, and outputs the content as at least one of voice and text.

[0145] The character setting unit 52 sets the character of an agent (corresponding to agent 52A shown in FIG. 9 ) when the agent system 50 converses with the user 10, based on a specification from the user 10. That is, the utterances output from the dialogue processing unit 51 are output through an agent having the set character. For example, real-life celebrities or famous people such as actors, entertainers, idols, and athletes can be set as characters. It is also possible to set fictional characters that appear in manga, movies, or animations. For example, it is possible to set "Princess Anne," played by Audrey Hepburn in the movie "Roman Holiday," as the agent character. If the agent character is known, the voice, speech, tone, and personality of the character are known. Therefore, the user 10 only needs to specify a character of their choice, and the prompt setting in the character setting unit 52 is automatically performed. The set character's voice, speech, tone, and personality are reflected in the dialogue with the user 10. That is, the dialogue processing unit 51 synthesizes a voice corresponding to the character set by the character setting unit 52 and outputs the agent's utterances using the synthesized voice. This allows the user 10 to feel as if he or she is interacting with his or her favorite character (for example, a favorite actor) in person.

[0146] When the agent system 50 is installed in a device with a display, such as a smartphone, an icon, still image, or video of an agent having a character set by the character setting unit 52 may be displayed on the display. The image of the agent is generated using image synthesis technology, such as 3D rendering. In the agent system 50, a dialogue with the user 10 may be conducted while the image of the agent makes gestures according to the emotions of the user 10, the emotions of the agent, and the content of the agent's speech. Note that the agent system 50 may output only audio without outputting an image when engaging in a dialogue with the user 10.

[0147] The emotion engine 53 includes an emotion determination unit 232 and determines an emotion value indicating the emotion of the user 10 and an emotion value of the agent itself. The emotion value of the agent itself is reflected in the emotion of the set character. When the agent system 50 converses with the user 10, not only the emotion of the user 10 but also the emotion of the character is reflected in the dialogue. In other words, the dialogue processing unit 51 outputs the content of the utterance in a manner corresponding to the emotion determined by the emotion engine 53.

[0148] The agent's emotions are also reflected when the agent system 50 behaves toward the user 10. For example, if the user 10 requests the agent system 50 to take a photo, whether the agent system 50 will take the photo in response to the user's request is determined by the degree of "sadness" the agent is feeling. If the agent is feeling positive emotions, it will have friendly conversations or behave in a positive manner toward the user 10, and if the agent is feeling negative emotions, it will have hostile conversations or behave in a negative manner toward the user 10.

[0149] The dialogue history storage unit 54 is a storage medium for storing the history of dialogue between the user 10 and the agent system 50. The dialogue history storage unit 54 may be realized by the history data 222 in the storage unit 220 or by an external cloud storage. When the agent system 50 dialogues with the user 10 or takes an action toward the user 10, the agent system 50 determines the content of the dialogue or the action by taking into account the content of the dialogue history stored in the dialogue history storage unit 54. For example, the agent system 50 identifies the hobbies and preferences of the user 10 based on the dialogue history stored in the dialogue history storage unit 54. The agent system 50 generates dialogue content that matches the hobbies and preferences of the user 10 or provides recommendations. The dialogue processing unit 51 generates utterance content based on the dialogue history stored in the dialogue history storage unit 54. The dialogue history storage unit 54 stores personal information of the user 10, such as the name, address, telephone number, and credit card number, acquired through dialogue with the user 10. Here, the agent may spontaneously ask the user 10 whether or not to register personal information, such as "Would you like to register your credit card number?", and the personal information may be stored in the dialogue history storage unit 54 depending on the user 10's response.

[0150] The sentence generation model 55 generates a sentence that is a response to input text or voice. The sentence generation model 55 may be interpreted as an algorithm and calculation for automatic character-based dialogue processing. The sentence generation model is publicly known as disclosed in, for example, Japanese Patent Application Laid-Open No. 2018-081444 and chatGPT (Internet search <URL: https: / / openai.com / blog / chatgpt>), and therefore a detailed description thereof will be omitted. Such a sentence generation model is configured using a large language model (LLM).

[0151] The dialogue processing unit 51 generates utterance contents based on sentences generated by the sentence generation model 55. Specifically, the dialogue processing unit 51 inputs the text or voice input by the user 10, the emotions of both the user 10 and the agent identified by the emotion engine 53, and the conversation history stored in the dialogue history storage unit 54 into the sentence generation model 55, and generates the utterance contents of the agent. At this time, the dialogue processing unit 51 may further input the personality of the character set by the character setting unit 52 into the sentence generation model 55 to generate the utterance contents of the agent. In the agent system 50, the sentence generation model 55 is not located on the front end side which is a touchpoint with the user 10, but is merely used as a tool of the agent system 50.

[0152] The command acquisition unit 56 is configured by the speech understanding unit 212, and acquires commands for the agent from the voice or text uttered by the user 10 through dialogue with the user 10. The commands include the content of actions to be performed by the agent system 50, such as information search, store reservation, ticket arrangement, product / service purchase, payment, route guidance to a destination, and recommendation provision.

[0153] The RPA 57 performs an action according to the command acquired by the command acquisition unit 56. The RPA 57 performs an action related to the use of the service provider 70, such as, for example, information search, store reservation, ticket arrangement, product / service purchase, and payment. The RPA 57 is an example of an "action execution unit" in the present disclosure.

[0154] The RPA 57 reads and uses personal information of the user 10, which is necessary to execute actions related to the use of the service provider 70, from the dialogue history storage unit 54. For example, when purchasing a product at the request of the user 10, the agent system 50 reads and uses personal information of the user 10, such as the name, address, telephone number, and credit card number, stored in the dialogue history storage unit 54. Requiring the user 10 to input personal information during initial setup is unkind and unpleasant for the user. In the agent system 50 according to this embodiment, instead of requiring the user 10 to input personal information during initial setup, the agent system 50 stores personal information acquired through dialogue with the user 10 and reads and uses it as needed. This makes it possible to avoid making the user 10 feel uncomfortable and improves user convenience.

[0155] The agent system 50 executes the dialogue processing through the following steps 1 to 6. (Step 1) The agent system 50 sets the character of the agent. Specifically, the character setting unit 52 sets the character of the agent when the agent system 50 dialogues with the user 10, based on the specification from the user 10.

[0156] (Step 2) The agent system 50 acquires the state of the user 10, including the voice or text input by the user 10, the emotional value of the user 10, the emotional value of the robot 100, and the history data 222. Specifically, the agent system 50 performs the same processing as steps S100 to S103 described above, and acquires the state of the user 10, including the voice or text input by the user 10, the emotional value of the user 10, the emotional value of the robot 100, and the history data 222.

[0157] (Step 3) The agent system 50 determines the agent's utterance content. Specifically, the dialogue processing unit 51 inputs the text or voice input by the user 10, the emotions of both the user 10 and the character identified by the emotion engine 53, and the conversation history stored in the dialogue history storage unit 54 into the sentence generation model 55 to generate the agent's utterance content. For example, a fixed sentence such as "How would you respond as an agent in this situation?" is added to the text representing the text or voice input by the user 10, the emotions of both the user 10 and the character identified by the emotion engine 53, and the conversation history stored in the dialogue history storage unit 54, and the resulting text is input into the sentence generation model 55 to obtain the agent's utterance content. As an example, if the text or voice input by the user 10 is "Please make a reservation at a delicious Chinese restaurant nearby for tonight at 7 o'clock," the agent's utterance content obtained is "Understood," and "Here are some recommended restaurants: 1. AAAA. 2. BBBB. 3. CCCC. 4. DDDD." Also, if the text or voice input by the user 10 is "Number 4, DDDD, would be good," the agent's speech content acquired will be "Understood. I will try to make a reservation. How many seats are there?"

[0158] (Step 4) The agent system 50 outputs the agent's utterance. Specifically, the dialogue processing unit 51 synthesizes a voice corresponding to the character set by the character setting unit 52, and outputs the agent's utterance in the synthesized voice.

[0159] (Step 5) The agent system 50 determines whether it is time to execute the agent's command. Specifically, the dialogue processing unit 51 determines whether it is time to execute the agent's command based on the output of the sentence generation model 55. For example, if the output of the sentence generation model includes information indicating that the agent will execute a command, it determines that it is time to execute the agent's command and proceeds to step 6. On the other hand, if it is determined that it is not time to execute the agent's command, it returns to step 2 above.

[0160] (Step 6) The agent system 50 executes the agent's command. Specifically, the command acquisition unit 56 acquires the agent's command from the voice or text uttered by the user 10 through a dialogue with the user 10. The RPA 57 then performs an action according to the command acquired by the command acquisition unit 56. For example, if the command is "information search," an information search is performed on a search site using a search query obtained through the dialogue with the user 10 and an API (Application Programming Interface). The dialogue processing unit 51 inputs the search results into the sentence generation model 55 to generate the agent's utterance content. The dialogue processing unit 51 synthesizes a voice corresponding to the character set by the character setting unit 52 and outputs the agent's utterance content using the synthesized voice. Furthermore, if the command is "reserve a restaurant," the reservation information obtained through the dialogue with the user 10, the restaurant information, and the API (Application Programming Interface) are used to call the restaurant and make the reservation using telephone software. At this time, the dialogue processing unit 51 uses a sentence generation model with a dialogue function to acquire the agent's utterance content in response to the voice input from the other party.The dialogue processing unit 51 then inputs the restaurant reservation result (whether the reservation was successful or not) into the sentence generation model 55 to generate the agent's utterance content.The dialogue processing unit 51 synthesizes a voice corresponding to the character set by the character setting unit 52, and outputs the agent's utterance content using the synthesized voice.The process then returns to step 2 above.

[0161] In step 6, the results of the actions taken by the agent (for example, making a restaurant reservation) are also stored in the dialogue history storage unit 54. The results of the actions taken by the agent stored in the dialogue history storage unit 54 are used by the agent system 50 to understand the hobbies or preferences of the user 10. For example, if the same restaurant has been reserved multiple times, the agent system 50 may recognize that the user 10 likes that restaurant, or use the reservation details, such as the time slot reserved, the course contents or price, as criteria for choosing a restaurant for the next reservation.

[0162] In this way, the agent system 50 executes dialogue processing and can take action related to the use of the service provider 70 as necessary. While the user is asleep, the agent system 50 may search for news of interest to the user based on the user's preferences acquired in advance, and then deliver the news to the user when the user wakes up. For example, the agent may say, "Looks like the Yankees won the game yesterday. Let's go to the baseball stadium tonight to cheer them on." If the user then says, "I'll have to talk to my dad," the dad may say, "I don't know if I can get tickets." The agent may then say, "I'll check if I can get tickets," and, through dialogue with the user, obtain seat requests and secure tickets.

[0163] 8 and 9 are diagrams showing an example of the operation of the agent system 50. Fig. 8 illustrates an example in which the agent system 50 makes a restaurant reservation through a dialogue with the user 10. The agent system 50 can ascertain the preferences of the user 10 based on the dialogue history with the user 10, provide a recommended list of restaurants that match the preferences of the user 10, and make a reservation at the selected restaurant.

[0164] 9 illustrates an example in which an agent system 50 accesses a mail-order site and purchases a product through a dialogue with the user 10. Based on the dialogue history with the user 10, the agent system 50 can estimate the remaining amount of beverages the user 10 has in stock, and can suggest and execute the purchase of the beverage to the user 10. The agent system 50 can also understand the user's preferences based on the past dialogue history with the user 10 and recommend snacks that the user likes. In this way, the agent system 50 acts as a butler-like agent, communicating with the user 10 and performing various actions such as making restaurant reservations or paying for product purchases, thereby supporting the user 10's daily life.

[0165] The agent system 50 described above can be applied to smart glasses 72. FIG. 10 is a block diagram showing an example of the hardware configuration of the smart glasses 72. The smart glasses 72 are glasses-type smart devices and are worn by the user 10 in the same manner as regular glasses. The smart glasses 72 include a control device 74, a display 76, a touch panel 78, a speaker 80, a sensor group 82, a microphone 84, a camera 86, and a communication I / F 88. The smart glasses 72 are an example of an "electronic device" and a "wearable terminal" in this disclosure.

[0166] The control device 74 is a device that controls the entire smart glasses 72, and is configured, for example, by a processor, memory, and storage (not shown). The display 76 displays various information to the user 10. The display 76 is, for example, a liquid crystal display. The display 76 is provided, for example, in the lens portion of the smart glasses 72, and the displayed content is visible to the user 10. The touch panel 78 accepts input from the user 10. The speaker 80 outputs audio indicating various information to the user 10.

[0167] The sensor group 82 detects the state of the user 10. The sensor group 82 is configured to include a plurality of sensors. For example, the sensor group 82 includes an acceleration sensor 82A, a temperature sensor 82B, and a heart rate sensor 82C. Note that these sensors are merely examples, and it goes without saying that other sensors may be installed to detect the state of the user 10.

[0168] The microphone 84 captures voice emitted by the user 10 or environmental sounds around the smart glasses 72. The camera 86 is capable of capturing images of the area around the smart glasses 72. The camera 86 is also capable of capturing images of the face of the user 10. The camera 86 is, for example, a CCD camera. The communication I / F 88 controls communication between the smart glasses 72 and the outside. The control device 74, the display 76, the touch panel 78, the speaker 80, the sensor group 82, the microphone 84, the camera 86, and the communication I / F 88 are connected to a bus 90.

[0169] 11 is a diagram showing an example of how the agent system 50 is used by the smart glasses 72. The smart glasses 72 provide various services to the user 10 using the agent system 50. For example, when the user 10 operates the smart glasses 72 (e.g., by voice input into a microphone or by tapping a touch panel with a finger), the smart glasses 72 begin using the agent system 50. Here, using the agent system 50 includes a case in which the control device 74 has a function similar to that of the agent system 50 and uses that function, and also includes a case in which the smart glasses 72 communicate with an external device (e.g., a server) via the communication I / F 88 to use the agent system 50 stored externally to the smart glasses 72.

[0170] When the user 10 operates the smart glasses 72, a touch point is created between the agent system 50 and the user 10. That is, the agent system 50 starts providing a service. As described above, in the agent system 50, the character setting unit 52 sets the character of the agent 52A (for example, the character of Audrey Hepburn).

[0171] As described above, the emotion engine 53 includes the emotion determination unit 232 and determines an emotion value indicating the emotion of the user 10 and an emotion value of the agent itself. Here, the emotion value indicating the emotion of the user 10 may be estimated from various sensors included in the sensor group 82 mounted on the smart glasses 72. For example, if the heart rate of the user 10 detected by the heart rate sensor 82C mounted on the smart glasses 72 is elevated, emotion values ​​such as "anxiety" and "fear" are estimated to be high. The heart rate sensor 82C is an example of an "acquisition unit" in the present disclosure.

[0172] Furthermore, if the temperature sensor 82B measures the user's body temperature and finds that it is higher than the average body temperature, an emotional value such as "pain" or "distress" is estimated to be high. Furthermore, if the acceleration sensor 82A detects that the user 10 is playing some kind of sport, an emotional value such as "fun" is estimated.

[0173] Furthermore, for example, the emotion value of the user 10 (e.g., the emotion value of "sad") may be estimated based on the facial expression (e.g., a sad expression) of the user 10 captured by the camera 86 mounted on the smart glasses 72. In this case, the camera 86 is an example of the "acquisition unit" in the present disclosure.

[0174] Furthermore, for example, the emotion value of the user 10 may be estimated from the voice or speech content of the user 10 acquired by the microphone 84 mounted on the smart glasses 72. For example, if the user 10 is raising his / her voice, an emotion value such as "anger" is estimated. In this case, the microphone 84 is an example of the "acquisition unit" in the present disclosure.

[0175] When the emotion value estimated by the emotion engine 53 becomes higher than a predetermined value, the agent system 50 causes the smart glasses 72 to acquire information about the surrounding situation. Specifically, for example, the smart glasses 72 are caused to capture images or videos showing the surrounding situation of the user 10 (e.g., people or objects in the vicinity). The smart glasses 72 are also caused to record ambient sounds using a microphone. Other information about the surrounding situation may include information about the date, time, location, or weather. The agent system 50 acquires information about the surrounding situation when the emotion value becomes high from the smart glasses 72. The information about the surrounding situation is stored in the surrounding situation storage unit 54A together with the emotion value. The surrounding situation storage unit 54A is a storage medium for storing information about the surrounding situation acquired by the agent system 50. Similar to the dialogue history storage unit 54, the surrounding situation storage unit 54A may be realized by the history data 222 in the storage unit 220 or by external cloud storage. In this way, the surrounding situation obtained by the smart glasses 72 is stored in the surrounding situation storage unit 54A as a so-called life log in association with the emotion value of the user 10 at that time.

[0176] In the agent system 50, information indicating the surrounding situation is stored in the surrounding situation storage unit 54A in association with an emotional value. This allows the agent system 50 to grasp personal information such as the hobbies, preferences, or personality of the user 10. For example, if an image showing a scene of watching a baseball game is associated with emotional values ​​such as "joy" or "fun," the agent system 50 will understand that the hobby of the user 10 is watching baseball games and that the favorite team or player is based on the information stored in the surrounding situation storage unit 54A.

[0177] When the agent system 50 converses with the user 10 or takes an action toward the user 10, the agent system 50 determines the content of the dialogue or the content of the action by taking into account the content of the surrounding circumstances stored in the surrounding circumstances storage unit 54A. It goes without saying that the content of the dialogue or the content of the action may be determined by taking into account the dialogue history stored in the dialogue history storage unit 54 as described above in addition to the surrounding circumstances.

[0178] As described above, the dialogue processing unit 51 generates utterance content based on sentences generated by the sentence generation model 55. Specifically, the dialogue processing unit 51 inputs the text or voice input by the user 10, the emotions of both the user 10 and the agent identified by the emotion engine 53, the conversation history stored in the dialogue history storage unit 54, the agent's personality, etc. into the sentence generation model 55, and generates the utterance content of the agent. Furthermore, the dialogue processing unit 51 inputs the surrounding circumstances stored in the surrounding circumstances storage unit 54A into the sentence generation model 55, and generates the utterance content of the agent.

[0179] The generated speech content is output as a voice to the user 10, for example, from a speaker 80 mounted on the smart glasses 72. In this case, a synthetic voice corresponding to the character of the agent is used as the voice. The dialogue processing unit 51 generates a synthetic voice by reproducing the voice quality of the agent character (e.g., Audrey Hepburn), or generates a synthetic voice corresponding to the character's emotion (e.g., a voice with a stronger tone when the emotion is "anger"). Furthermore, the speech content may be displayed on the display 76 instead of or in addition to the voice output. The speaker 80 and the display 76 are examples of an "output unit" in the present disclosure.

[0180] The RPA 57 executes an operation in response to a command (for example, a command of an agent acquired from a voice or text uttered by the user 10 through a dialogue with the user 10). The RPA 57 performs actions related to the use of the service provider 70, such as information search, store reservation, ticket arrangement, product / service purchase, payment, route guidance, translation, etc.

[0181] As another example, the RPA 57 executes an operation of transmitting the contents of voice input by the user 10 (e.g., a child) through a dialogue with an agent to a destination (e.g., a parent). Examples of transmission means include message application software, chat application software, and email application software.

[0182] When an operation by the RPA 57 is executed, for example, a sound indicating that the execution of the operation has been completed is output from the speaker 80 mounted on the smart glasses 72. For example, a sound such as "Your restaurant reservation has been completed" is output to the user 10. Also, for example, if the restaurant is fully booked, a sound such as "We were unable to make a reservation. What do you want to do?" is output to the user 10.

[0183] As described above, the smart glasses 72 provide various services to the user 10 by utilizing the agent system 50. Furthermore, since the smart glasses 72 are worn by the user 10, the agent system 50 can be utilized in various situations, such as at home, at work, or while out and about.

[0184] Furthermore, since the smart glasses 72 are worn by the user 10, they are suitable for collecting a so-called life log of the user 10. Specifically, the emotional value of the user 10 is estimated based on the detection results of various sensors and the like mounted on the smart glasses 72 or the recording results of the camera 86 and the like. Therefore, the emotional value of the user 10 can be collected in various situations, and the agent system 50 can provide services or speech content suited to the emotions of the user 10.

[0185] Furthermore, the smart glasses 72 obtain information about the user 10's surroundings using the camera 86, microphone 84, etc. These surroundings are associated with the user 10's emotional values. This allows estimation of the emotions felt by the user 10 in a given situation. As a result, the agent system 50 can improve the accuracy with which it grasps the user 10's hobbies and preferences. By accurately grasping the user 10's hobbies and preferences in the agent system 50, the agent system 50 can provide services or speech content suited to the user 10's hobbies and preferences.

[0186] The agent system 50 can also be applied to a smart pendant 92. FIG. 12 is a block diagram showing an example of the hardware configuration of the smart pendant 92. The smart pendant 92 is a pendant-type smart device that is worn by the user 10 in the same manner as a general pendant. The smart pendant 92 includes a control device 93, a speaker 94, a microphone 95, and a communication I / F 96. The smart pendant 92 is an example of the "electronic device" and "wearable terminal" in this disclosure.

[0187] The control device 93 is a device that controls the entire smart pendant 92, and is composed of, for example, a processor, memory, and storage (not shown). The speaker 94 outputs audio that indicates various information to the user 10. The speaker 94 is, for example, a speaker that can output directional audio (i.e., a directional speaker). The speaker 94 is set to have directionality toward the ears of the user 10. This prevents the audio from reaching people other than the user 10. The speaker 94 is an example of an "output unit" in the present disclosure.

[0188] The microphone 95 acquires voices emitted by the user 10 or environmental sounds around the smart pendant 92. The smart pendant 92 is worn by hanging it from the neck of the user 10. Therefore, the smart pendant 92 is positioned relatively close to the mouth of the user 10 while being worn. This makes it easy to acquire voices emitted by the user 10. The microphone 95 is an example of an "acquisition unit" in the present disclosure. The communication I / F 96 controls communication between the smart pendant 92 and the outside. The control device 93, speaker 94, microphone 95, and communication I / F 96 are connected to a bus 97.

[0189] The agent system 50 can also be used in the smart pendant 92. That is, the services provided by using the agent system 50 in the smart glasses 72 described above (see FIG. 11 ) can also be provided in the smart pendant 92. For example, the emotional values ​​of the user 10 and the agent are estimated through a conversation with an agent with a character set, and the content of the agent's speech or the content of the service provided changes depending on the emotional value. In addition, for example, the situation around the user 10 and the emotional value at that time are recorded as a life log and reflected in the estimation of the emotional value of the user 10 or the content of the service provided.

[0190] The smart pendant 92 may also be provided with a group of sensors (corresponding to the group of sensors 82 in the smart glasses 72) similar to the smart glasses 72. This allows the smart pendant 92 to detect information indicating the physical condition of the user 10 or the surrounding situation, and allows the agent system 50 to estimate an emotional value or record the surrounding situation.

[0191] As described above, the smart pendant 92 can achieve the same effects as the smart glasses 72 described above. Furthermore, the smart pendant 92 is lighter and easier to carry than stuffed toys, smart speakers, smartphones, smart glasses, etc. Furthermore, compared to other smart devices such as smartphones or smart glasses, the smart pendant 92 is lighter and more portable because it is worn regularly. Therefore, the agent system 50 can be used in various situations, such as at home, at work, and on the go. Furthermore, the smart pendant 92 is more suitable for collecting the life log of the user 10, and therefore can collect the emotional values ​​of the user 10 in various situations. The agent system 50 can provide services or speech content appropriate to the user 10's emotions.

[0192] Second Embodiment Next, a second embodiment will be described while omitting or simplifying parts that overlap with the above-mentioned embodiment. The second embodiment is characterized in that the agent system 50 purchases products based on a budget received from the user 60 and a history of products purchased by the user 60.

[0193] Here, the "budget" refers to a budget for payment methods such as cash, electronic money, virtual currency, or points. The "budget" may be a budget for any payment method, including prepaid, postpaid, and immediate payment (debit). "Acquisition" includes purchase, rental, and contract, and "product" includes both goods and services.

[0194] In the second embodiment, a case will be described in which the agent system 50 purchases an item using prepaid electronic money.

[0195] 13 is a diagram schematically illustrating an example of the functional configuration of an agent system 50 according to the second embodiment. As described above, the agent system 50 is configured using some or all of the functions of the behavior control system shown in FIG.

[0196] As shown in FIG. 13, the agent system 50 of this embodiment includes a reception unit 502, an acquisition unit 504, and a product determination unit 506 in addition to the functional configuration of the above-described embodiment.

[0197] The reception unit 502 of this embodiment has a function of receiving the amount of electronic money that can be used to purchase goods. Specifically, the reception unit 502 receives the amount of electronic money that has been charged by the user 60. As an example, the reception unit 502 receives the amount of "10,000 yen" that has been charged by the user 60 as the amount of electronic money that can be used. The amount of electronic money is an example of a "budget" in the present disclosure.

[0198] The history acquisition unit 504 of this embodiment has a function of acquiring a purchase history that records items purchased in the past by the user 60. Specifically, the acquisition unit 504 acquires the purchase history from the history data 222 (see FIG. 2 ) in the storage unit 220. As an example, the history acquisition unit 504 acquires a list of items purchased by the user 60, the purchase date, the purchased quantity, the emotional value of the user 60, etc. The purchase history is an example of "history information" in the present disclosure.

[0199] The product determination unit 506 of this embodiment has a function of determining the product to purchase based on the amount of electronic money and the purchase history. As an example, the product determination unit 506 determines the product to purchase in descending order of purchase frequency so that the total amount falls within a range of 10,000 yen. Furthermore, if the purchase history records the emotional value of the user 60 regarding the purchased product, the product determination unit 506 may determine the product to purchase based on the emotional value of the user 60. Note that the product determination unit 506 may also determine the quantity of the product to purchase.

[0200] Furthermore, the product determination unit 506 has a function of determining an item to be purchased based on the emotional value of the agent. Specifically, the product determination unit 506 determines an item to be purchased based on the emotional value of the agent determined by the emotion engine 53. As an example, the product determination unit 506 determines an item to be purchased by using the reaction rules 221 (see FIG. 2 ) in the storage unit 220.

[0201] The reaction rules 221 in this embodiment define an item to be purchased according to a combination of the past and present emotional values ​​of the user 60, the emotional value of the agent, and the behavior of the user 60. That is, the reaction rules 221 in this embodiment are characterized in that they define an item to be purchased instead of the behavior of the robot 100 defined in the first embodiment. For example, if the past emotional value of the user 60 is a positive value and the present emotional value is a negative value, and the user 60's behavior is sad, an item to encourage the user 60 is defined as an item to be purchased by the agent. Examples of items to encourage the user 60 include food that the user 60 likes, a doll of a character that the user 60 likes, or merchandise from an artist that the user 60 likes.

[0202] For example, the items to be purchased defined in the reaction rules 221 include the following items (1) to (10).

[0203] (1) An item to congratulate the user. (2) An item to apologize to the user. (3) An item to thank the user. (4) An item to make the user laugh. (5) An item to distract the user. (6) An item to comfort the user. (7) An item to solve the user's problem. (8) An item to entertain the user. (9) An item to annoy the user. (10) An item to reassure the user.

[0204] The items defined in the reaction rules 221 are, for example, specific item names determined by analyzing the history data 222 and the dialogue history storage unit 54. For example, a "strawberry shortcake" is registered as "(1) an item for celebrating the user," and a "box of sweets" is registered as "(2) an item for apologizing to the user." The registered item names may be updated at regular intervals.

[0205] The product determination unit 506 does not need to determine an item to purchase if the item to be purchased is not registered in the reaction rule 221 or if the agent's emotion value is a negative value. For example, the product determination unit 506 does not determine an item to purchase if the agent's emotion is "dislike," "anger," "unforgiveness," "hatred," or the like. Furthermore, if the agent's emotion becomes "happy" after being praised by the user 60, the product determination unit 506 determines an "item to express gratitude to the user" as the item to purchase. Furthermore, if the agent's emotion becomes "sad" after being scolded by the user 60, the product determination unit 506 determines an "item to apologize to the user" as the item to purchase.

[0206] The RPA 57 of this embodiment has a function of performing an action related to the purchase of the determined item. Specifically, the RPA 57 purchases the item from the mail order site using the amount of accepted electronic money, the item name registered in the reaction rule 221 for the item to be purchased, and the API. Note that the RPA 57 does not need to purchase all of the determined items in one purchase.

[0207] Furthermore, the RPA 57 of this embodiment has a function of performing an action related to purchasing an item at a predetermined timing. Specifically, the RPA 57 performs this action when the emotional value of the agent reaches a predetermined value or more. As an example, the RPA 57 performs an action related to purchasing an item to entertain the user when the emotional value of the agent, which is "fun," reaches 4 or more. When the emotional value of the agent reaches a predetermined value or more is an example of a "predetermined timing." The predetermined timing includes, for example, the timing when the emotional value of the user reaches a predetermined value or more, the timing when the user gives an instruction to purchase, etc.

[0208] The RPA 57 of this embodiment has a function of communicating to the user 60 the reason for deciding on an item to purchase. Specifically, the RPA 57 inputs into the sentence generation model 55 information on the basis of which the item determination unit 506 decided on the item to purchase, and communicates this to the user 60 using the generated text as a message for the user 60. As an example, a case will be described in which the user 60 is happy about their birthday, so the agent's emotion becomes "happy," and the product determination unit 506 decides to purchase an "item to celebrate the user." In this case, the RPA 57 inputs the text "Happy Birthday!" into the gift message field of the online shopping site. As another example, a case will be described in which the agent's emotion becomes "sad" because the user 60 scolded the agent, so the product determination unit 506 decides to purchase an "item to apologize to the user." In this case, the RPA 57 writes a message such as "I'm sorry. This is an apology gift" in the text of an email and sends it, or communicates this to the user 60 through a dialogue.

[0209] FIG. 14 is a flowchart showing an example of the flow of a product determination process in which the agent system 50 according to the second embodiment determines an item to purchase.

[0210] 14, the agent system 50 accepts the amount of money that can be used by the user 60. As an example, the agent system 50 accepts the amount of electronic money that the user 60 has charged.

[0211] In step S201, the agent system 50 acquires the purchase history of the user 60. Specifically, the agent system 50 acquires the purchase history of the user 60 from the history data 222.

[0212] In step S202, the agent system 50 acquires the emotion of the agent. Specifically, in the agent system 50, the emotion determination unit 232 determines the emotion of the agent based on the state of the user 60 acquired by the user state recognition unit 230.

[0213] In step S203, the agent system 50 determines the item to purchase based on the received amount, the acquired purchase history, and the agent's emotion. Then, the agent system 50 ends the product determination process. Note that after the product determination process, the agent system 50 may proceed to the product acquisition process shown in FIG. 15, which will be described later.

[0214] 15 is a flowchart showing an example of the flow of a product acquisition process in which the agent system 50 according to the second embodiment purchases an item. The agent system 50 executes the product acquisition process at a predetermined timing after the product determination process.

[0215] In step S300 of Fig. 15, the agent system 50 executes an operation to purchase the determined item. Specifically, the agent system 50 purchases the item determined in step S203 of Fig. 14. Specifically, the agent system 50 uses the amount of electronic money, the determined item, and the API by the RPA 57 to purchase the item from the mail order site.

[0216] 15, the agent system 50 adds information about the purchased item to the purchase history. Specifically, the agent system 50 adds the information about the purchased item to the purchase history of the history data 222 via the storage control unit 238.

[0217] In step S302, the agent system 50 acquires the state of the user 60 when the purchased item is recognized. Specifically, the agent system 50 acquires the state of the user 60 by the user state recognition unit 230.

[0218] In step S303, the agent system 50 determines the emotion of the user 60 regarding the purchased item from the acquired state of the user 60. Specifically, the agent system 50 determines the emotion of the user 60 by the emotion determination unit 232.

[0219] In step S304, the agent system 50 adds the emotion of the user 60 to the information about the purchased item stored in the purchase history. Specifically, the agent system 50 causes the storage control unit 238 to associate the information about the purchased item with the emotion value of the user 60 and add them to the purchase history of the history data 222. Then, the agent system 50 ends the product acquisition process.

[0220] (Summary of Second Embodiment) The agent system 50 of the second embodiment purchases an item determined based on the electronic money received from the user 60 and the purchase history of the user 60. In other words, the agent system 50 can purchase an item that the user 60 has purchased in the past. In other words, the agent system 50 can purchase an item that the user 60 regularly purchases on behalf of the user 60, thereby saving the user 60 the trouble of purchasing the item. On the other hand, the agent system 50 can purchase an item that the user 60 has never purchased before. In other words, the agent system 50 can provide the user 60 with a new experience by purchasing an item that the user 60 has never purchased on behalf of the user 60.

[0221] The agent system 50 of the second embodiment determines which items to purchase based on a purchase history that records purchased items and the user's 60 feelings toward those items. Therefore, the agent system 50 can reflect the user's 60 past feelings toward purchased items in determining which items to purchase. In other words, the agent system 50 can purchase items that the user 60 felt favorably about and avoid purchasing items that the user 60 was indifferent to.

[0222] The agent system 50 of the second embodiment determines an item to be purchased based on the agent's emotions. Therefore, the agent system 50 can determine whether or not to purchase an item depending on the agent's emotions, or can change the item to be purchased. Furthermore, the agent system 50 can express the agent's emotions through the items to be purchased. In other words, the agent system 50 can communicate with the user 60 through the purchased items.

[0223] The agent system 50 of the second embodiment transmits a message regarding the purchased item to the user 60. Therefore, the user 60 can know the agent's emotions through the message. Furthermore, the agent system 50 can notify the user 60 that an item matching the user's 60 emotions has been purchased.

[0224] (Variation 1 of the Second Embodiment) In the second embodiment, the agent's emotions were used to determine the item to be purchased. Variation 1 is characterized in that the situation around the user 60 is used to determine the item to be purchased. Furthermore, in the second embodiment, prepaid electronic money was used to purchase the item, but in Variation 1 of the second embodiment, a case where the item is purchased using a credit card will be described. Furthermore, in Variation 1, in the above description, the "amount of electronic money" will be replaced with "credit card payment limit" unless otherwise specified. Below, the details specific to Variation 1 will be described.

[0225] In Modification 1, the user state recognition unit 230 shown in FIG. 2 has a function of acquiring and recognizing an image of the situation around the user 60. Specifically, the user state recognition unit 230 acquires the image via the 2D camera 203 of the sensor unit 200. The user state recognition unit 230 also estimates the quantity of each item shown in the image by applying known image recognition technology to the image. The image of the situation around the user 60 is an example of "information related to the situation around the user" in the present disclosure, and the quantity of each item is an example of "information related to inventory for each product" in the present disclosure.

[0226] For example, when the user state recognition unit 230 recognizes a location where items that the user 60 regularly uses are stored, such as a refrigerator or a pantry, the user state recognition unit 230 acquires an image of the location and estimates the quantity of each item stored in the location. The image of the refrigerator or pantry is an example of "image information" in the present disclosure.

[0227] In the first modification, the reception unit 502 shown in FIG. 13 has a function of receiving a credit card payment limit that can be used to purchase goods. Specifically, the reception unit 502 receives a limit input by the user 60. As an example, the reception unit 502 receives an amount that can be paid without a signature. The credit card payment limit is an example of a "budget" in the present disclosure.

[0228] The product determination unit 506 in the first modification has a function of determining an item to purchase based on an image of the situation around the user 60. Specifically, the product determination unit 506 has a function of determining an item to purchase based on the quantity of each item estimated by the user state recognition unit 230. As an example, when the estimated quantity of an item is below the minimum quantity of the item set by the user 60, the product determination unit 506 determines the item to purchase.

[0229] In the first modification, the RPA 57 performs an action related to the purchase of an item when the estimated quantity of the item falls below the minimum quantity set by the user 60 for a predetermined consecutive period. Specifically, the RPA 57 determines whether to purchase the item using the quantity of each item estimated by the user state recognition unit 230, the estimated date, and the minimum quantity set for each item. For example, if the number of 500 mL plastic bottles of carbonated water falls below 12 bottles for seven consecutive days, the RPA 57 purchases 24 plastic bottles of carbonated water (one cardboard box). The minimum quantity of 12 bottles set by the user 60 is an example of a "predetermined threshold" in the present disclosure, and seven days is an example of a "predetermined period" in the present disclosure. After performing an action related to the purchase of an item, the RPA 57 may refrain from purchasing the item until the purchased item arrives.

[0230] FIG. 16 is a flowchart showing an example of the flow of an acquisition determination process in which the agent system 50 according to the first modification of the second embodiment determines whether or not to purchase an item.

[0231] 16, the agent system 50 accepts the amount of money that the user 60 can spend. As an example, the agent system 50 accepts the credit card limit set by the user 60.

[0232] In step S401, the agent system 50 acquires the purchase history of the user 60. Specifically, the agent system 50 acquires the purchase history of the user 60 from the history data 222.

[0233] In step S402, the agent system 50 acquires an image representing the situation around the user 60. Specifically, the agent system 50 acquires the image from the sensor unit 200.

[0234] In step S403, the agent system 50 estimates information on the quantity of each item from the acquired image. Specifically, the agent system 50 estimates the quantity of each item shown in the image using the user state recognition unit 230.

[0235] In step S404, the agent system 50 determines the items to be purchased based on the received amount, the user's purchase history, and information on the quantity of each item.

[0236] In step S405, the agent system 50 determines whether the quantity of the item has been below the minimum quantity set by the user for a predetermined consecutive period. If the agent system 50 determines that the quantity of the item has been below the minimum quantity set by the user for a predetermined consecutive period (step S405: YES), the agent system 50 proceeds to step S406. If the agent system 50 determines that the quantity of the item has not been below the minimum quantity set by the user for a predetermined consecutive period (step S405: NO), the agent system 50 ends the acquisition determination process.

[0237] In step S406, the agent system 50 executes the product acquisition process shown in Fig. 15. Then, the agent system 50 ends the acquisition determination process.

[0238] (Summary of Modification 1 of Second Embodiment) The agent system 50 of Modification 1 determines the item to purchase based on the situation around the user 60. Therefore, the agent system 50 can change the item to purchase depending on changes in the situation around the user 60. Furthermore, because the agent system 50 does not require instructions from the user 60 when purchasing an item, even if the user 60 is unaware of a change in the situation around them, the agent system 50 can purchase an item in accordance with the change.

[0239] The agent system 50 of the first modification determines the items to be purchased based on the quantity of items estimated from an image captured of the situation around the user 60. Therefore, the agent system 50 can change the items to be purchased depending on the quantity of items owned by the user 60. In other words, the agent system 50 can avoid purchasing an item that is already in sufficient quantity.

[0240] The agent system 50 of the first modification purchases an item when the quantity of the item estimated from the video of the situation around the user 60 falls below a predetermined threshold for a predetermined consecutive period of time. In other words, the agent system 50 can purchase the item so that the stock of the item does not run out. In other words, the agent system 50 can save the user 60 the trouble of checking the quantity of the item and purchasing items that may be in short supply.

[0241] (Variation 2 of the Second Embodiment) In the second embodiment, the agent's emotions were used to determine the item to be purchased. Variation 2 is characterized in that information received from the user 60 is used to determine the service to be subscribed to. Furthermore, in the second embodiment, the item was purchased using prepaid electronic money, but in Variation 2 of the second embodiment, a case will be described in which a service is subscribed to using the point balance granted to the user 60. Furthermore, in Variation 2, in the above description, unless otherwise specified, the terms "amount of electronic money" and "credit card payment limit" will be replaced with "point balance." Furthermore, in Variation 2, in the above description, unless otherwise specified, the terms "item" will be replaced with "service," and the terms "purchase" will be replaced with "contract." Details specific to Variation 2 will be described below.

[0242] In the second modification, the reception unit 502 shown in FIG. 13 has a function of receiving a balance of points that can be used to sign up for a service. Specifically, the reception unit 502 receives a balance input by the user 60 from the total amount of points owned by the user 60. As an example, the reception unit 502 receives a balance of "10,000 pt" from the points owned by the user 60. A service contract is an example of "purchasing a product" in the present disclosure, and a balance of points is an example of "budget" in the present disclosure.

[0243] Furthermore, the reception unit 502 in the second modification has a function of receiving at least one of information related to service categories and information related to the preferences of the user 60. Specifically, the reception unit 502 in the second modification presents a plurality of service categories and a plurality of preferences to the user 60 as options, and receives the service category and preference selected by the user 60.

[0244] The multiple service categories presented by the reception unit 502 include, for example, the following categories:

[0245] (1) Videos (2) Music (3) Books and e-books (4) Games (5) Home appliances and digital devices (6) Sports (7) Beauty (8) Healthcare and diet (9) Fashion (10) Housing-related (11) Food and drink-related (12) Leisure

[0246] The multiple preferences presented by the receiving unit 502 are items obtained by subdividing each category. Items obtained by subdividing each category will be described using "(1) Videos" as an example. Items obtained by subdividing the category "(1) Videos" include, for example, "movies," "dramas," "anime," and "variety shows." The receiving unit 502 may also present items obtained by further subdividing "movies," such as "comedy," "action," "horror," "romance," "fantasy," "sci-fi," and "documentary." The receiving unit 502 may also present items obtained by subdividing "movies" from a different perspective, such as "director," "year of release," "cast," and "target age group."

[0247] The history acquisition unit 504 in the second modification has a function of acquiring a contract history that records services for which the user 60 has previously subscribed. Specifically, the acquisition unit 504 acquires the contract history from the history data 222 in the storage unit 220. As an example, the history acquisition unit 504 acquires a list of service items for which the user 60 has subscribed, the contract date, the contract quantity, the emotional value of the user 60, etc. The contract history is an example of "history information" in the present disclosure.

[0248] The product determination unit 506 in the second modification has a function of determining a service to be subscribed to based on the information received by the reception unit 502. Specifically, the product determination unit 506 determines a service that matches the preferences of the user 60 from among the categories selected by the user 60. As an example, the product determination unit 506 determines a service for viewing movies by a movie director that the user 60 likes from among the video category. The video is an example of "information related to the product category" in the present disclosure, and the favorite director of the user 60 is an example of "information related to the user's preferences" in the present disclosure.

[0249] The product determination unit 506 also has a function of determining an item to purchase based on the point balance and the contract history. As an example, the product determination unit 506 determines services to contract for in order of highest contract frequency so that the total points are within a range of 10,000 points. Furthermore, if the contract history records the emotional value of the user 60 for the contracted services, the product determination unit 506 may determine the service to contract for based on the emotional value of the user 60.

[0250] The RPA 57 in the second modification performs actions related to the contract for the determined service. As an example, the RPA 57 uses the point balance input by the user 60, the determined service, and an API to make a contract for the service on a provider site that provides the service. As an example, the RPA 57 concludes a contract that allows the user 60 to watch movies by his / her favorite director on a site that provides a movie viewing service. Note that if the contract requires the consent of the user 60, the RPA 57 performs actions related to the contract, excluding the procedure for obtaining the consent of the user 60.

[0251] FIG. 17 is a flowchart showing an example of the flow of a product determination process in which the agent system 50 according to the second modification of the second embodiment determines a service to be contracted.

[0252] 17, the agent system 50 accepts the amount of money available for use by the user 60. As an example, the agent system 50 accepts the remaining points available for use by the agent system 50 from the total amount of points owned by the user 60.

[0253] In step S501, the agent system 50 acquires the contract history of the user 60. Specifically, the agent system 50 acquires the contract history of the user 60 from the history data 222.

[0254] In step S502, the agent system 50 receives information about the service category from the user 60. Specifically, the agent system 50 receives the information when the user 60 selects a category presented by the receiving unit 502.

[0255] In step S503, the agent system 50 receives information about the preferences of the user 60 from the user 60. Specifically, the agent system 50 receives the information when the user 60 selects items into which each category presented by the receiving unit 502 is subdivided.

[0256] In step S504, the agent system 50 determines the service to be contracted for based on the received amount, the contract history of the user 60, and the information received from the user 60. Then, the agent system 50 ends the product determination process. Note that after the product determination process, the agent system 50 may proceed to the product acquisition process shown in FIG.

[0257] (Summary of Modification 2 of Second Embodiment) The agent system 50 of Modification 2 determines the service to be subscribed to based on at least one of information related to the service category and information related to the preferences of the user 60. In other words, the agent system 50 can subscribe to a service based on the settings of the user 60. In other words, the agent system 50 can subscribe to a service that suits the preferences of the user 60.

[0258] [Note] In the first and second embodiments, the emotion determination unit 232 determines an emotion value indicating the emotion of the user 60 and an emotion value of the agent itself based on the information analyzed by the sensor module unit 210 and the state of the user 60 recognized by the user state recognition unit 230. However, it is not always possible to obtain the state of the user 60. Therefore, the emotion determination unit 232 may determine an emotion value indicating the emotion of the user 60 and an emotion value of the agent itself based on the dialogue history between the user 60 and the agent. Note that this dialogue history may be stored in either the dialogue history storage unit 54 or the history data 222.

[0259] In the second embodiment, the reception unit 502 receives the amount of electronic money charged by the user 60, as an example, but the method of receiving the budget is not limited to this. For example, the reception unit 502 may automatically receive points that the user has earned by shopping or the like, or may automatically receive an amount that the user has set each month.

[0260] In the second embodiment, the product determination unit 506 determines the product to purchase based on the reaction rule 221, but the method of determining the product is not limited to this. The product determination unit 506 determines the product according to, for example, the level of the agent's emotional value. As an example, the product determination unit 506 determines the product to purchase to be a more expensive product as the agent's emotional value becomes higher.

[0261] In the second embodiment, the agent system 50 causes the user 60 to perform procedures that must be performed by the user 60. For example, with respect to a settlement, contract, or the like that requires the consent or input of the user 60, the agent system 50 confirms with the user 60 whether or not to consent or input.

[0262] In the first modification of the second embodiment, the agent system 50 acquires an image of the user's surroundings from the sensor unit 200, but the means for acquiring the image is not limited to this. When the agent system 50 is mounted on the smart glasses 72 shown in FIG. 10 , the image may be acquired via the camera 86.

[0263] In the first modification of the second embodiment, the agent system 50 purchases an item when the quantity of the item has been below the minimum quantity set by the user 60 for a predetermined consecutive period of time, but the timing of purchasing the item is not limited to this. The agent system 50 may purchase the item immediately when the quantity of the item has fallen below the minimum quantity.

[0264] In the first modification of the second embodiment, the agent system 50 purchases an item when the quantity of the item falls below a predetermined threshold for seven consecutive days, but it is not necessary to recognize the quantity of the item for seven consecutive days. For example, if the agent system 50 recognizes that the quantity of an item is insufficient on the first day and then recognizes that the quantity of the item is insufficient on the eighth day, it can consider that the quantity has been below the predetermined threshold for seven consecutive days.

[0265] Third Embodiment Next, a third embodiment will be described while omitting or simplifying parts that overlap with the above-described embodiments. The third embodiment is characterized in that the agent system 50 outputs information on the location of an object that is necessary to realize a proposal to the user 60.

[0266] Hereinafter, a case will be described in which the agent system 50 of this embodiment outputs the name and location of a required ingredient to the smart glasses 72 (see FIG. 10).

[0267] 18 is a diagram schematically illustrating an example of the functional configuration of an agent system 50 according to the third embodiment. As described above, the agent system 50 is configured using some or all of the functions of the behavior control system shown in FIG.

[0268] The user state recognition unit 230 of this embodiment shown in Fig. 2 has a function of acquiring and recognizing video of the situation around the user 60. Specifically, the user state recognition unit 230 acquires video of the situation around the user 60 via the 2D camera 203 of the sensor unit 200. Furthermore, the user state recognition unit 230 infers information about objects shown in the video by applying known image recognition technology to the video of the situation around the user 60. The video of the situation around the user 60 is an example of "image information related to the situation around the user."

[0269] 18, the agent system 50 of this embodiment includes, in addition to the functional configuration of the first embodiment described above, a reception unit 501, a proposal determination unit 502, an identification unit 503, a position output unit 504, and a history acquisition unit 505, just like the second embodiment. The history acquisition unit 505 will be described later in a modified example of the third embodiment.

[0270] The receiving unit 501 of this embodiment has a function of receiving the names of ingredients and words indicating seasonings. Specifically, the receiving unit 501 receives words input by the user 60. As an example, the receiving unit 501 receives the words "pork" and "sweet and spicy" contained in the voice of the user 60 input via the microphone 84 of the smart glasses 72 (see FIG. 10 ). The names of ingredients are an example of "keywords indicating what the user wants." The words indicating seasonings are an example of "concept words indicating the direction of the keywords."

[0271] The proposal determination unit 502 of this embodiment has a function of determining the content to be proposed to the user 60. Specifically, the proposal determination unit 502 inputs the names of ingredients and words indicating seasonings received by the receiving unit 501 into the sentence generation model 55. Then, the proposal determination unit 502 determines the recipe output from the sentence generation model 55 as the content to be proposed to the user 60. As an example, the proposal determination unit 502 inputs the words "pork" and "sweet and spicy" into the sentence generation model 55. Then, the proposal determination unit 502 determines the recipe for "stir-fried pork with kimchi" generated by the sentence generation model 55 as the content to be proposed to the user 60. The content to be proposed is an example of "proposal information."

[0272] The identification unit 503 of this embodiment has a function of identifying necessary items, which are things that the user 60 needs to realize the proposal determined by the proposal determination unit 502. Specifically, the identification unit 503 identifies necessary items using the sentence generation model 55. As an example, the identification unit 503 inputs "extract the necessary ingredients from the recipe" to the sentence generation model 55 and obtains a list of the names of the necessary ingredients from the sentence generation model 55. Necessary items are an example of "things."

[0273] The position output unit 504 of this embodiment has a function of acquiring and outputting information regarding the position of an object shown in the video. Specifically, the position output unit 504 acquires position information measured using at least one of the 3D depth sensor 202, the 2D camera 203, and the distance sensor 204 of the sensor unit 200 shown in Fig. 2. As an example, the position output unit 504 in Fig. 18 acquires the distance and direction from the position of the user 60 to the position of "pork" shown in the video.

[0274] Then, when the necessary item identified by the identification unit 503 appears in the video of the situation around the user 60 acquired by the user state recognition unit 230 (see FIG. 2), the position output unit 504 outputs information on the position of the necessary item. As an example, the position output unit 504 outputs the distance and direction to the location of "pork" to the display 76 of the smart glasses 72 (see FIG. 10). Whether or not the item shown in the video is a necessary item may be determined using known image recognition technology.

[0275] FIG. 19 is a flowchart showing an example of the flow of an output process in which the agent system 50 according to the third embodiment outputs information about the location of a necessary item.

[0276] 19, the agent system 50 receives information on one ingredient and seasoning. Specifically, the agent system 50 receives input from the user 60. As an example, the agent system 50 receives as input a voice message from the user 60 saying, "I'd like to make a sweet and spicy dish using pork."

[0277] In step S201A, the agent system 50 executes a proposal generation process, which will be described later. The agent system 50 executes the proposal generation process to obtain a recipe based on one ingredient and seasoning.

[0278] In step S202A, the agent system 50 proposes the acquired recipe to the user 60. As an example, the agent system 50 outputs the recipe for "Stir-fried pork with kimchi" as text information on the display 76 of the smart glasses 72 (see FIG. 10).

[0279] In step S203A, the agent system 50 identifies a plurality of ingredients required for the proposed recipe. Specifically, the agent system 50 identifies a plurality of ingredients using the sentence generation model 55. As an example, the agent system 50 identifies "pork," "kimchi," "garlic," "ginger," "sesame," "green onion," etc. as necessary ingredients.

[0280] In step S204A, the agent system 50 acquires an image of the situation around the user 60. As an example, the agent system 50 acquires an image of the situation around the user 60 from the 2D camera 203 (see FIG. 2).

[0281] In step S205A, the agent system 50 determines whether or not the specified ingredient is present around the user 60. If the agent system 50 determines that the specified ingredient is not present (step S205A: NO), the process proceeds to step S209A. On the other hand, if the agent system 50 determines that the specified ingredient is present (step S205A: YES), the process proceeds to step S206A. Note that the agent system 50 may determine that the specified ingredient is not present after a predetermined time has elapsed.

[0282] In step S206A, the agent system 50 acquires information about the location of the identified ingredient. Specifically, the agent system 50 acquires information about the location of the identified ingredient based on information acquired from the 3D depth sensor 202 and the 2D camera 203. As an example, the agent system 50 acquires the distance and direction to the location of the pork.

[0283] In step S207A, the agent system 50 outputs the name and location information of the identified ingredient. Specifically, the agent system 50 outputs the name and location information of the identified ingredient to the display 76 (see FIG. 10 ) of the smart glasses 72. As an example, the agent system 50 outputs the text "pork" and "10 m diagonally to the right."

[0284] In step S208A, the agent system 50 determines whether or not the location information of all identified ingredients has been output. If the agent system 50 determines that the location information of all identified ingredients has been output (step S208A: YES), the output process ends. On the other hand, if the agent system 50 determines that the location information of all identified ingredients has not been output (step S208A: NO), the process returns to step S204A.

[0285] In step S209A, the agent system 50 suggests a substitute. Specifically, the agent system 50 suggests a substitute for a specific ingredient that is determined not to be around the user 60. As an example, the agent system 50 inputs the text "What is a substitute for pork?" into the sentence generation model 55, obtains the name of the substitute that is output, and suggests the substitute to the user 60.

[0286] In step S210A, the agent system 50 determines whether the user 60 has accepted the proposal. Specifically, the agent system 50 determines whether the user 60 has accepted the proposal made in step S209. If the agent system 50 determines that the user 60 has accepted the proposal (step S210: YES), the agent system 50 proceeds to step S211. On the other hand, if the agent system 50 determines that the user 60 has not accepted the proposal (step S210A: NO), the output process ends.

[0287] In step S211A, the agent system 50 determines the substitute to be the specified ingredient. Specifically, the agent system 50 determines the substitute accepted in step S210A as the specified ingredient in place of the ingredient determined in step S205A not to be around the user 60. Then, the agent system 50 returns to step S204.

[0288] FIG. 20 is a flowchart showing an example of the flow of a proposal determination process for determining a proposal using the sentence generation model 55 according to the third embodiment.

[0289] 20, the agent system 50 inputs the received information on one ingredient and seasoning to the sentence generation model 55. As an example, the agent system 50 inputs the text "Please remember the words I'm about to input: 'pork', 'sweet and spicy'" to the sentence generation model 55.

[0290] In step S301A, the agent system 50 inputs the generation of a recipe based on the input information to the sentence generation model 55. As an example, the agent system 50 inputs text indicating an output instruction, "Output a cooking recipe based on the input ingredients and seasonings," to the sentence generation model 55.

[0291] In step S302A, the agent system 50 acquires the recipe output from the sentence generation model 55. The agent system 50 ends the suggestion generation process.

[0292] (Summary of the Third Embodiment) The agent system 50 of the third embodiment displays suggestions based on information input by the user 60. That is, the agent system 50 can concretize and display the desires of the user 60 that are inferred from the input information. That is, the agent system 50 allows the user 60 to recognize what the user 60 wants.

[0293] The agent system 50 of the third embodiment displays the location of an item suggested by the agent system 50 that the user 60 needs when the item is located near the user 60. In other words, the agent system 50 can make the user 60 aware that the item is nearby. In other words, the agent system 50 can reduce the possibility that the user 60 will overlook the item. Furthermore, the agent system 50 can save the user 60 the trouble of searching for the item.

[0294] (Variation of the Third Embodiment) In the third embodiment, the agent system 50 causes the sentence generation model 55 to generate suggestions for the user 60 based on the words and phrases received from the user 60. In the variation, the sentence generation model 55 generates suggestions for the user 60 based on the behavioral history and emotions of the user 60 in addition to the words and phrases received from the user 60. Details specific to the variation will be described below.

[0295] The history acquisition unit 505 of this embodiment shown in Fig. 18 has a function of acquiring a behavioral history that records past behaviors performed by the user 60. Specifically, the history acquisition unit 505 acquires the behavioral history of the user 60 from the history data 222 (see Fig. 2) in the storage unit 220. As an example, the history acquisition unit 505 acquires the history of the user 60's past emotional values ​​and behaviors. The behavioral history is an example of "history information".

[0296] FIG. 21 is a flowchart showing an example of the flow of a proposal determination process for determining a proposal using the sentence generation model 55 according to the modified example of the third embodiment.

[0297] 21, the agent system 50 recognizes the state of the user 60. Specifically, the agent system 50 recognizes the state of the user 60 by the user state recognition unit 230 (see FIG. 2).

[0298] In step S401A, the agent system 50 determines the emotion of the user 60 based on the recognized state of the user 60. Specifically, the agent system 50 determines the emotion of the user 60 using the emotion engine 53 (see FIG. 18 ). As an example, the agent system 50 determines the emotion of the user 60 to be “sad.”

[0299] In step S402A, the agent system 50 acquires the behavior history of the user 60. Specifically, the agent system 50 acquires the behavior history of the user 60 from the history data 222 included in the storage unit 220.

[0300] In step S403A, the agent system 50 provides the acquired behavioral history of the user 60 to the sentence generation model 55. Specifically, the agent system 50 uploads the behavioral history data of the user 60 to the sentence generation model 55. Note that, since the behavioral history data has been uploaded, the agent system 50 can generate an answer by referring to the behavioral history data.

[0301] In step S404A, the agent system 50 inputs the received information and the determined emotion of the user 60 to the sentence generation model 55. Specifically, the agent system 50 inputs the information received in step S200A (see FIG. 19 ) and the emotion of the user 60 determined in step S401A to the sentence generation model 55. As an example, the agent system 50 inputs the text "Please remember the words I'm about to input: 'pork', 'sweet and spicy', 'the user's emotion is sad'" to the sentence generation model 55.

[0302] In step S405A, the agent system 50 inputs the provided behavioral history and the generation of a recipe based on the input emotion of the user 60 into the sentence generation model 55. As an example, the agent system 50 inputs text indicating an output instruction, "Output a cooking recipe based on the uploaded behavioral history and the current emotion of the user," into the sentence generation model 55. Then, the agent system 50 proceeds to step S302A described above, and ends the suggestion generation process.

[0303] (Summary of the Modification of the Third Embodiment) The agent system 50 of the modification determines suggestions to the user 60 based on the behavioral history of the user 60 and the emotions of the user 60. In other words, the agent system 50 can make suggestions that reflect the past behavior of the user 60 and the current emotions of the user 60. For example, the agent system 50 grasps a tendency for the user to crave spicy food when feeling depressed, and suggests recipes for spicy dishes. Furthermore, when the agent system 50 determines that the user 60 reflected in the mirror looks unwell due to a hangover or the like and looks spicy, it suggests recipes for easy-to-digest dishes. In other words, the agent system 50 can make suggestions that are tailored to the behavioral history and emotions of the user 60.

[0304] [Note] In the third embodiment, the receiving unit 501 receives words indicating names and seasonings of ingredients, and the proposal determination unit 502 proposes recipes. However, the words received by the receiving unit 501 are not limited to these. Table 3 below shows examples of combinations of keywords, concept words, and proposal information.

[0305]

[0306] In the third embodiment, the receiving unit 501 receives, as an example, a voice input from the user 60, but the input means of the user 60 is not limited to this. The receiving unit 501 may also receive an input from the user 60 in the form of text, an image, a video, or the like.

[0307] In the third embodiment, the identification unit 502 has a function of identifying a necessary item, but the items that are identified are not limited to objects. The identification unit 502 may also identify information that the user needs. As an example, the identification unit 502 identifies the route to the festival venue, the names of train stations to board and disembark, etc. Information that the user needs is an example of a "thing."

[0308] In the third embodiment, the agent system 50 lists the names of ingredients as information on the necessary items, but the information is not limited to this. The information on the necessary items may be information on the necessary items expressed in the form of text, images, videos, audio, or the like.

[0309] In the third embodiment, the position output unit 504 acquires, as an example, the distance and direction from the position of the user 60 to the position of "pork," but the acquired position information is not limited to this. The position output unit 504 may also acquire the distance and direction to a position where related information is displayed. As an example, the position output unit 504 may acquire the distance and direction to a sign indicating that "pork" is available. Furthermore, multiple pieces of position information may be displayed simultaneously. The position output unit 504 may determine which information to display and which information not to display depending on the degree of association between the necessary item and the object displayed in the video.

[0310] In the third embodiment, the position output unit 504 outputs information about the name and position of the identified ingredient, but the information to be output is not limited to this. The position output unit 504 may also output information about the identified ingredient, such as the nutrients of the ingredient, ingredients that go well with it, cooking methods, etc. In other words, the position output unit 504 can output information related to the necessary items when outputting the position information.

[0311] In the third embodiment, the position output unit 504 outputs the information about the position of the necessary item to the display 76 of the smart glasses 72, but the output method is not limited to this. For example, the position output unit 504 may output the information about the position by voice via a speaker provided in the electronic device or earphones worn by the user 60. Furthermore, the position output unit 504 may output the information about the position by vibration.

[0312] In the third embodiment, the position output unit 504 acquires information about the location of the required object using at least one of the 3D depth sensor 202, the 2D camera 203, and the distance sensor 204, but the acquisition means is not limited to this. The position output unit 504 may acquire the location information using the camera 86 of the smart glasses 72.

[0313] In the third embodiment, the agent system 50 provides the behavior history data to the sentence generation model 55, but the method by which the sentence generation model 55 uses the behavior history data is not limited to this. The sentence generation model 55 may use the behavior history data by directly referring to the behavior history data in the storage unit 220.

[0314] Fourth Embodiment Next, a fourth embodiment will be described while omitting or simplifying parts that overlap with the above-described embodiments. The fourth embodiment is characterized in that the agent system 50 outputs information about a conversation partner based on facial information of the conversation partner.

[0315] Hereinafter, a case will be described in which the agent system 50 of this embodiment outputs information about a conversation partner acquired based on facial information of the conversation partner to smart glasses 72 (see FIG. 10 ). The conversation partner is an example of a “conversation partner.” The smart glasses 72 are an example of “smart glasses.”

[0316] 22 is a diagram schematically illustrating an example of the functional configuration of an agent system 50 according to the fourth embodiment. As described above, the agent system 50 is configured using some or all of the functions of the behavior control system shown in FIG.

[0317] The sensor unit 200 of this embodiment shown in FIG. 2 detects information about the person with whom the user 60 is having a conversation.

[0318] The user state recognition unit 230 of this embodiment recognizes the state of the conversation partner of the user 60 based on the information analyzed by the sensor module unit 210. The user state recognition unit 230 is an example of a "state recognition unit."

[0319] The emotion determination unit 232 of this embodiment determines an emotion value indicating the emotion of the conversation partner based on the information analyzed by the sensor module unit 210 and the state of the conversation partner recognized by the user state recognition unit 230. For example, the information analyzed by the sensor module unit 210 and the recognized state of the conversation partner are input into a pre-trained neural network to obtain an emotion value indicating the emotion of the conversation partner.

[0320] As shown in FIG. 22, the agent system 50 of this embodiment includes, in addition to the functional configuration of the above-described embodiment, a face information acquisition unit 502, a public information acquisition unit 504, a person information acquisition unit 506, and an information output unit 508.

[0321] The face information acquisition unit 502 has a function of acquiring face information. Specifically, the face information acquisition unit 502 acquires feature amount data indicating the facial feature amounts of the conversation partner of the user 60. As an example, the face information acquisition unit 502 acquires the facial feature amount data of the conversation partner measured by the sensor unit 200 (see FIG. 2 ). The facial feature amount data is an example of "face information."

[0322] The public information acquisition unit 504 has a function of acquiring information about the conversation partner from information on the Internet. Specifically, the public information acquisition unit 504 identifies posts of the conversation partner from posts on a social networking service (SNS) based on the facial feature amount data acquired by the face information acquisition unit 502 and the emotion value determined by the emotion determination unit 232, and acquires the content of the identified post. Note that the acquired post content is not limited to text, and may be audio, images, videos, etc. Posts on SNS are an example of "information on the Internet, including social media." The post content is an example of "publicly-disclosed public information."

[0323] In this embodiment, the public information acquisition unit 504 identifies a poster whose facial feature data acquired by the face information acquisition unit 502 is similar to the facial feature data included in an image showing the poster. Here, "similar" means similar to a predetermined percentage, and does not necessarily mean similar enough to be recognizable using known face recognition technology. The public information acquisition unit 504 then identifies posts whose emotion value estimated from the content of posts made by the identified poster within a predetermined period (e.g., the past week) matches the emotion value of the conversation partner acquired by the emotion determination unit 232. For example, if the emotion value of the conversation partner is "sad," the public information acquisition unit 504 identifies posts by the identified poster that include a "photo of a broken cup" and a "sad emoji." Note that multiple posts may be identified as long as they are made by the same poster.

[0324] The personal information acquisition unit 506 has a function of acquiring a profile. Specifically, the personal information acquisition unit 506 acquires the profile of the poster who made the post identified by the public information acquisition unit 504. As an example, the personal information acquisition unit 506 identifies text containing the profile from a home screen that can display a list of posts by the identified poster, and acquires information such as the poster's name, age, gender, and occupation included in the identified profile. Note that the poster's profile may also be acquired from the post content acquired by the public information acquisition unit 504. The profile is an example of "personal information."

[0325] The information output unit 508 has a function of outputting the acquired information. Specifically, the information output unit 508 outputs the emotion value acquired by the emotion determination unit 232, the posted content acquired by the public information acquisition unit 504, and the profile acquired by the personal information acquisition unit 506 to the display 76 of the smart glasses 72 (see FIG. 10 ). The information output unit 508 may output the acquired information in a format that is easy for the user 60 to understand. For example, if the information output unit 508 acquires that the emotion of the conversation partner is "sad," it outputs this in an objective expression such as "sad." Furthermore, the information output unit 508 does not need to output all of the emotion value, the posted content, and the profile; it is sufficient to output information including at least one of them.

[0326] (Control Flow) FIG. 23 is a flowchart showing an example of the flow of a partner information output process for outputting information about a conversation partner. The partner information output process of this embodiment is executed when the agent system 50 recognizes that the user 60 has a conversation partner, and when it recognizes that the conversation partner of the user 60 has changed. Note that the partner information output process may be executed at any timing of the user 60. In addition, in this embodiment, the information output by the partner information output process is output to the display 76 of the smart glasses 72 (see FIG. 10 ).

[0327] 23, the agent system 50 acquires facial feature amount data of the conversation partner of the user 60. Specifically, the agent system 50 acquires facial feature amount data of the conversation partner measured by the sensor unit 200 (see FIG. 2).

[0328] In step S201B, the agent system 50 executes emotion acquisition processing, which will be described later. Through the emotion acquisition processing, the agent system 50 acquires the emotion value of the conversation partner of the user 60. As an example, the agent system 50 acquires that the emotion of the conversation partner is "sad."

[0329] In step S202B, the agent system 50 determines whether or not a post of the conversation partner has been identified from the posts on the SNS based on the acquired facial feature amount data and emotion value. If the agent system 50 determines that a post of the conversation partner has been identified, the process proceeds to step S203B. On the other hand, if the agent system 50 determines that a post of the conversation partner has not been identified, the process proceeds to step S208B.

[0330] In step S203B, the agent system 50 acquires the content of the identified post. For example, the agent system 50 acquires the content of the post, "I broke my favorite cup yesterday."

[0331] In step S204B, the agent system 50 determines whether or not the profile of the conversation partner has been identified based on the identified post. If the agent system 50 determines that the profile has been identified, the process proceeds to step S205B. On the other hand, if the agent system 50 determines that the profile has not been identified, the process proceeds to step S207B.

[0332] In step S205B, the agent system 50 acquires the identified profile. Specifically, the agent system 50 acquires the profile identified in step S204B. As an example, the agent system 50 acquires the name "A."

[0333] In step S206B, the agent system 50 outputs the acquired emotion value, the posted content, and the profile. Specifically, the agent system 50 outputs the emotion value acquired in step S201B, the posted content acquired in step S203B, and the profile acquired in step S205B. As an example, the agent system 50 outputs information such as "I'm sad," "I recently broke my favorite cup," and "Mr. A." Then, the agent system 50 ends the other party information output process.

[0334] In step S207B, the agent system 50 outputs the acquired emotion value and the posted content. Specifically, the agent system 50 outputs the emotion value acquired in step S201B and the posted content acquired in step S203B. As an example, the agent system 50 outputs information such as "I feel sad" and "I recently broke my favorite cup." Then, the agent system 50 ends the other party information output process.

[0335] In step S208B, the agent system 50 outputs the acquired emotion value. Specifically, the agent system 50 outputs the emotion value acquired in step S201B. As an example, the agent system 50 outputs information that the person is "sad." Then, the agent system 50 ends the other party information output process.

[0336] FIG. 24 is a flowchart showing an example of the flow of emotion acquisition processing for acquiring an emotion value of a conversation partner.

[0337] In step S300B, the agent system 50 recognizes the state of the conversation partner of the user 60. Specifically, the agent system 50 recognizes the state of the conversation partner by the user state recognition unit 230 (see FIG. 2).

[0338] In step S301B, the agent system 50 determines the emotion value of the dialogue partner. Specifically, the agent system 50 determines the emotion value of the dialogue partner using the emotion determination unit 232 (see FIG. 2). Note that the emotion value of the dialogue partner may also be determined using the emotion engine 53 (see FIG. 22).

[0339] In step S302B, the agent system 50 acquires the determined emotion value. Then, the agent system 50 ends the emotion acquisition process. Note that the agent system 50 may repeatedly execute the emotion acquisition process as long as the user 60 continues the dialogue.

[0340] (Summary of the Fourth Embodiment) In the agent system 50 of the fourth embodiment, the public information acquisition unit 504 acquires the content posted on the SNS, and the personal information acquisition unit 506 acquires the profile of the conversation partner based on the facial feature amount of the conversation partner acquired by the face information acquisition unit 502 and the emotion value of the conversation partner acquired by the emotion determination unit 232. Then, in the agent system 50, the information output unit 508 outputs the acquired information. Media such as SNS may not completely identify individuals. However, according to the agent system 50 of this embodiment, in addition to the information posted on the SNS, the profile of the conversation partner is acquired using the facial feature amount and emotion value of the conversation partner, so that information about the conversation partner can be obtained with high accuracy. Furthermore, according to the agent system 50 of this embodiment, information about the conversation partner can be supplemented for the user 60, allowing the user 60 to have a smooth conversation with the conversation partner.

[0341] (Variation 1 of the Fourth Embodiment) The agent system 50 according to the fourth embodiment acquires the profile of the conversation partner based on the identified post. The agent system 50 according to Variation 1 acquires the profile of the conversation partner from a database. Details specific to Variation 1 will be described below.

[0342] 22 has a function of acquiring a profile from the personal information DB 223, which will be described later. Specifically, the personal information acquisition unit 506 acquires the profile of a person whose registered facial feature data has a high degree of similarity to the facial feature data of the conversation partner acquired by the face information acquisition unit 502. Here, "high degree of similarity" means that the facial feature data is similar enough to be authenticated using known face recognition technology.

[0343] As shown in FIG. 25, the storage unit 220 of the first modification further includes a person information DB 223 in addition to reaction rules 221 and history data 222 .

[0344] The personal information DB 223 is a database in which facial feature data and profiles of a plurality of people are registered. The personal information DB includes a personal information table 2231 and a facial feature table 2232.

[0345] The person information table 2231 is an information table in which the profile of each person is registered. The person information table 2231 includes a face information ID and a profile stored in association with the face information ID.

[0346] The face information ID is a combination of predetermined characters associated with the facial features and the profile.

[0347] A profile is information that identifies an individual. A profile includes a name, an affiliation / job title, and other information. Note that a profile may also include age, gender, occupation, and other information that identifies an individual.

[0348] The facial feature amount table 2232 is a data table in which facial feature amounts are registered. The facial feature amount table 2232 includes the above-mentioned facial information IDs and facial feature amount data stored in association with the facial information IDs.

[0349] The facial feature amount data stored includes facial feature amount data measured by a camera, an infrared sensor, a laser radar, etc. The stored facial feature amount data is, for example, facial feature amount data measured by the sensor unit 200 (see FIG. 2).

[0350] 26A and 26B are diagrams showing an example of a schematic data table included in the person information DB 223. FIG.

[0351] 26A, the personal information table 2231 stores a face information ID and personal information in association with each other. For the personal information corresponding to the face information ID "F0001," "A" is stored as the name, "General Affairs Department" as the affiliation / position, and "Main business is equipment management" as other information. For the personal information corresponding to the face information ID "F0002," "B" is stored as the name, "Human Resources Department" as the affiliation / position, and "Main business is recruitment activities" as other information. For the personal information corresponding to the face information ID "F0003," "C" is stored as the name, "Sales Department / Manager" as the affiliation / position, and "Mainly in charge of Company X" as other information.

[0352] 26B, the facial feature amount table 2232 stores facial information IDs and facial feature amount data in association with each other. "A's facial feature amount data" is stored corresponding to the facial information ID "F0001." "B's facial feature amount data" is stored corresponding to the facial information ID "F0002." "C's facial feature amount data" is stored corresponding to the facial information ID "F0003."

[0353] (Control Flow) Figure 27 is a flowchart showing an example of the flow of the partner information acquisition process according to Modification 1. The partner information output process according to Modification 1 is characterized in that, when the agent system 50 determines in step S204 that the profile of the dialogue partner has not been identified, the profile of the dialogue partner is acquired from the person information DB 223. The process specific to Modification 1 will be described below.

[0354] If the agent system 50 determines in step S204C of FIG. 27 that the profile of the conversation partner has not been identified, the process proceeds to step S400C.

[0355] In step S400C, the agent system 50 determines whether a person whose facial feature amount data is highly similar to the acquired facial feature amount data has been identified from the database. If the agent system 50 determines that a person whose facial feature amount data is highly similar has been identified from the database, the process proceeds to step S401C. On the other hand, if the agent system 50 determines that a person whose facial feature amount data is highly similar has not been identified from the database, the process proceeds to step S207C. Note that the agent system 50 identifies a person whose facial feature amount data is highly similar by referencing the facial feature amount table 2232 of the person information DB 223 for the facial feature amount data acquired in step S200.

[0356] In step S401C, the agent system 50 obtains the profile of the identified person from the database. Specifically, the agent system 50 obtains the profile corresponding to the person identified in step S400C from the person information table 2231. As an example, the agent system 50 obtains the name "Mr. A" and the affiliation / job title "General Affairs Department." Then, the agent system 50 proceeds to step S206C.

[0357] In step S206C, the agent system 50 outputs the acquired emotion value, the posted content, and the profile. Specifically, the agent system 50 outputs the emotion value acquired in step S201C, the posted content acquired in step S203C, and the profile. Here, if the agent system 50 has identified a profile based on the identified post (YES in step S204C), it outputs the profile identified from the post. If the agent system 50 has acquired a profile from the database (YES in step S400C), it outputs the acquired profile. Note that when outputting the profile acquired in step S401C, the agent system 50 outputs, for example, information such as "sad," "recently broke his favorite cup," "Mr. A," and "belongs to the general affairs department." Then, the agent system 50 ends the other party information output process.

[0358] (Summary of Modification 1 of Fourth Embodiment) In the agent system 50 of Modification 1, the person information acquisition unit 506 acquires the profile of the conversation partner from the person information DB 223. Therefore, according to the agent system 50 of Modification 1, the user 60 can know the profile of the conversation partner with high reliability registered in the database.

[0359] (Variation 2 of the Fourth Embodiment) In the agent system 50 according to the fourth embodiment, the output destination of the other party information output process is the display 76 (see FIG. 10) of the smart glasses 72. The agent system 50 according to Variation 2 is characterized in that the information output in the other party information output process is summarized and then output to the display 76 (see FIG. 10) of the smart glasses 72. Details specific to Variation 2 will be described below.

[0360] 22 has a function of outputting information acquired from the sentence generation model 55. Specifically, the information output unit 508 outputs a summary acquired from the sentence generation model 55.

[0361] FIG. 28 is a flowchart showing an example of the flow of a summary output process for outputting summarized information.

[0362] In step S500C of FIG. 28, the agent system 50 inputs the output emotion value, the posted content, and the profile into the sentence generation model 55. Specifically, the agent system 50 inputs the information output in step S206B (see FIG. 23) into the sentence generation model 55. As an example, the agent system 50 inputs information such as "I'm sad," "I broke my favorite cup recently. I've been having a lot of bad things happen. I want to change my mood," and "Mr. A." It is sufficient that the agent system 50 inputs at least two of the emotion value, the posted content, and the profile of the conversation partner into the sentence generation model 55.

[0363] In step S501C, the agent system 50 inputs to the sentence generation model 55 a command to generate a summary from the input information. Specifically, the agent system 50 instructs the sentence generation model 55 to summarize the information input in step S500C. As an example, the agent system 50 inputs to the sentence generation model 55, "Summarize the input information."

[0364] In step S502C, the agent system 50 acquires the summary output from the sentence generation model 55. As an example, the agent system 50 acquires the text "Mr. A seems to be feeling sad recently because a lot of bad things have happened to him."

[0365] In step S503C, the agent system 50 outputs the acquired summary. Specifically, the agent system 50 outputs the summary acquired in step S503C to the display 76 (see FIG. 10) of the smart glasses 72. Then, the agent system 50 ends the summary output process.

[0366] (Summary of Modification 2 of Fourth Embodiment) In the agent system 50 of Modification 2, the information processing output unit 506 outputs summarized information about the conversation partner based on at least two of the conversation partner's emotional value, the posted content, and the profile. Therefore, according to the agent system 50 of Modification 2, the user 60 can reduce the time it takes to check the conversation partner's information compared to when the conversation partner's information is not summarized.

[0367] (Variation 3 of the Fourth Embodiment) The agent system 50 according to Variation 2 of the fourth embodiment summarizes the information output in the other party information output process and outputs it to the display 76 of the smart glasses 72 (see FIG. 10). The agent system 50 according to Variation 3 is characterized in that it outputs a topic generated based on the information output in the other party information output process to the display 76 of the smart glasses 72 (see FIG. 10). The topic is an example of "conversation information." Details specific to Variation 3 will be described below.

[0368] 22 has a function of outputting information acquired from the sentence generation model 55. Specifically, the information output unit 508 outputs the topic acquired from the sentence generation model 55.

[0369] FIG. 29 is a flowchart showing an example of the flow of conversation information output processing for outputting topics.

[0370] Step S600C in Fig. 29 is the same process as step S500C (see Fig. 28), and therefore description thereof will be omitted. Note that the agent system 50 of Modification 3 only needs to input at least one of the emotional value, the posted content, and the profile of the conversation partner into the sentence generation model 55.

[0371] In step S601, the agent system 50 inputs to the sentence generation model 55 a request to generate a topic from the input information. Specifically, the agent system 50 instructs the sentence generation model 55 to generate a topic based on the information input in step S600. As an example, the agent system 50 inputs to the sentence generation model 55, "Suggest a topic based on the input information."

[0372] In step S602, the agent system 50 acquires the topic output from the sentence generation model 55. As an example, the agent system 50 acquires the text "Why not explain that there is a technique called kintsugi as a way to repair a broken cup?"

[0373] In step S603, the agent system 50 outputs the acquired topic to the display 76 (see FIG. 10) of the smart glasses 72. Then, the agent system 50 ends the conversation information output process.

[0374] (Summary of Modification 3 of Fourth Embodiment) In the agent system 50 of Modification 3, the information processing output unit 506 outputs a topic to be discussed with the conversation partner based on at least one of the emotion value, the content of the post, and the profile of the conversation partner. Therefore, according to the agent system 50 of Modification 3, the user 60 can bring up a topic that matches the situation of the conversation partner.

[0375] (Variation 4 of the Fourth Embodiment) When the agent system 50 according to Variation 1 of the fourth embodiment is unable to identify the profile of the conversation partner based on the identified post, it identifies the profile of the conversation partner from a database. The agent system 50 according to Variation 4 of the fourth embodiment is characterized in that it acquires the profile of the conversation partner from a database and identifies the conversation partner's post from the acquired profile. Below, we will explain the details unique to Variation 4, which are different from Variation 1.

[0376] The public information acquisition unit 504 according to the fourth modification has a function of acquiring information about the dialogue partner from information on the Internet based on the profile and the emotion value. Specifically, the public information acquisition unit 504 identifies a poster on the SNS based on the profile acquired from the personal information DB 223, identifies posts by the identified poster based on the emotion value acquired by the emotion determination unit 232, and acquires the content of the identified posts. As an example, the public information acquisition unit 504 identifies a poster whose name matches "A" acquired from the personal information DB 223. Then, the public information acquisition unit 504 identifies posts whose emotion value estimated from the content of posts made by the identified poster within a predetermined period matches the emotion value of the dialogue partner acquired by the emotion determination unit 232. Note that the public information acquisition unit 504 may also acquire the content of posts made within a predetermined period without using the emotion value.

[0377] 30 is a flowchart showing an example of the flow of the other party information output process according to Modification 4. The other party information output process according to Modification 4 is characterized in that the agent system 50 executes the emotion acquisition process in step S201D, and then executes step S400D to identify the conversation partner from the person information DB 223. The process specific to Modification 4 will be described below.

[0378] 30, the agent system 50 executes emotion acquisition processing. Then, the agent system 50 proceeds to step S400D. As an example, the agent system 50 acquires that the emotion of the conversation partner is "fun."

[0379] In step S400D, if the agent system 50 determines that a person with highly similar facial feature data has not been identified from the database, the process proceeds to step S202D. On the other hand, if the agent system 50 determines that a person with highly similar facial feature data has been identified from the database, the process proceeds to step S401D.

[0380] In step S401D, the agent system 50 obtains the profile of the identified person from the database. Specifically, the agent system 50 obtains the profile corresponding to the person identified in step S400D from the person information table 2231. As an example, the agent system 50 obtains the name "Mr. A." Then, the agent system 50 proceeds to step S700D.

[0381] In step S700D, the agent system 50 determines whether or not a post of the conversation partner has been identified from the posts on the SNS based on the acquired profile and emotion value. If the agent system 50 determines that a post of the conversation partner has been identified, the process proceeds to step S701D. On the other hand, if the agent system 50 determines that a post of the conversation partner has not been identified, the process proceeds to step S702D.

[0382] In step S701D, the agent system 50 acquires the content of the identified post. Specifically, the agent system 50 acquires the content of the post identified in step S700D. As an example, the agent system 50 acquires the content of the post from "Mr. A" that says, "I had fun cherry blossom viewing today." Then, the agent system 50 proceeds to step S206D.

[0383] In step S206D, the agent system 50 outputs the acquired emotion value, the posted content, and the profile. Specifically, the agent system 50 outputs the emotion value acquired in step S201, the posted content acquired in step S701D, and the profile acquired in step S700D. As an example, the agent system 50 outputs information such as "Looks fun," "Went cherry blossom viewing the other day," and "Mr. A." Then, the agent system 50 ends the other party information output process.

[0384] In step S702D, the agent system 50 outputs the acquired emotion value and profile. As an example, the agent system 50 outputs information such as "Looks like fun" and "Mr. A." Then, the agent system 50 ends the other party information output process.

[0385] (Summary of Variation 4 of Fourth Embodiment) In the agent system 50 according to Variation 4 of the fourth embodiment, the personal information acquisition unit 506 acquires a profile of the conversation partner from the personal information DB 223. Furthermore, the public information acquisition unit 504 acquires the content of posts on the SNS based on the acquired profile and the emotion value acquired by the emotion determination unit 232. Therefore, according to the agent system 50 according to Variation 4, the user 60 can know the latest publicly available information about the conversation partner. Furthermore, because the publicly available information about the conversation partner is acquired based on the profile registered in the personal information DB 223, it is possible to acquire information with higher accuracy than when the information is acquired based on facial features.

[0386] The agent system 50 according to the fourth modification of the fourth embodiment identifies posts of the conversation partner from posts on the SNS and acquires the conversation partner's profile when the personal information acquisition unit 506 does not identify a person whose facial feature amount data is highly similar to that of the conversation partner from the personal information DB 223. Therefore, according to the agent system 50 according to the fourth modification, the user 60 can know information about the conversation partner even if information about the conversation partner is not registered in the personal information DB 223.

[0387] (Note) The face information acquisition unit 502 of the fourth embodiment acquires face feature amount data as face information. However, the present invention is not limited to this, and the face information acquisition unit 502 may acquire a face image as face information. Furthermore, in the fourth embodiment, processing using face feature amount data may be performed using a face image.

[0388] The partner information output process of the fourth embodiment is executed when it is recognized that the user 60 has a dialogue partner, and when it is recognized that the dialogue partner of the user 60 has changed. However, this is not limiting, and when new information about a dialogue partner is acquired, only the relevant information may be updated and output. As an example, when the emotion value of the dialogue partner changes, the agent system 50 may output only the updated emotion value.

[0389] In the fourth embodiment, the agent system 50 acquires facial feature data from the sensor unit 200 (see FIG. 2). However, the present invention is not limited to this. The agent system 50 may acquire facial feature data using the camera 86 of the smart glasses 72 or a group of sensors 82 (see FIG. 10). Alternatively, the agent system 50 may acquire facial feature data from an external device such as a smartphone or a photographing device.

[0390] In the fourth embodiment, the agent system 50 identifies posts of the interlocutor from posts on a social networking service (SNS) and acquires the content of the identified post. However, the present invention is not limited to this. The agent system 50 may identify posts of the interlocutor from posts on social media such as blogs, video sharing sites, review sites, shopping sites, etc. Furthermore, the posts are not limited to those posted by the interlocutor, and may be news articles, articles, etc. in which the interlocutor is featured.

[0391] In the fourth embodiment, the agent system 50 identifies a poster whose facial feature amount data acquired by the face information acquisition unit 502 is similar to the facial feature amount data included in an image showing the poster, and identifies the post of the conversation partner. However, the present invention is not limited to this, and the agent system 50 may identify information about the conversation partner by performing a web search using the facial feature amount data of the conversation partner.

[0392] In the fourth embodiment, the agent system 50 outputs information to the display 76 (see FIG. 10 ) of the smart glasses 72. However, this is not a limitation, and the agent system 50 may output information from the speaker 80 of the smart glasses 72. Note that output from the speaker 80 includes audio output via earphones or bone conduction. Furthermore, the output destination is not limited to the smart glasses 72, and may be a mobile terminal, a wearable terminal, or the like.

[0393] Fifth Embodiment Next, as a fifth embodiment, an example of execution of a speed reading application will be described, in which a wearable device (specifically, smart glasses 72) is used as an electronic device. Note that the electronic device is not limited to the smart glasses 72, and may be other electronic devices capable of incorporating the agent system 50 (robots, dolls, stuffed toys, pendants, smart watches, smartphones, smart speakers, earphones, personal computers, etc.).

[0394] The execution program of the speed reading application of this embodiment is stored in a recording medium of the control device 74 shown in FIG. 10 and is executed by the CPU.

[0395] In the speed reading application, the smart glasses 72 are controlled to perform the following (Operation 1) to (Operation 7).

[0396] (Operation 1) The smart glasses 72 are activated when the user opens a book and says, "Speed ​​read." (Operation 2) The camera (not shown) of the smart glasses 72 captures the text information of the page of the book or the like that the user is reading. (Operation 3) The captured image is subjected to OCR to acquire the text. (Operation 4) A preset prompt, "Summarize the acquired text," is entered into ChatGPT to acquire a summary of the page being read. Depending on the functionality of ChatGPT, an image or illustration of the page may be captured and analyzed (using the GPT-4 function). (Operation 5) The summary is output as audio from the speaker of the smart glasses 72 or connected earphones. (Operation 6) Whether the user has turned the page is recognized from the image captured by the camera of the smart glasses 72. (Operation 7) The above (Operations 2) to (Operation 6) are repeated.

[0397] FIG. 31A is a perspective view showing a practical example of speed reading of a book using smart glasses 72 in a speed reading application.

[0398] FIG. 31A shows a state in which a user 10 wearing smart glasses 72 is holding and reading a book B.

[0399] While the user 10 is reading, a camera (not shown) of the smart glasses 72 captures the text information of the open page (usually two pages, left and right) and uses OCR to obtain the text written on the page.

[0400] The response from ChatGPT based on the speed reading instruction is output as audio from the speaker (not shown) of the smart glasses 72, so the user 10 can get an overview of the page before reading the characters on the page. For example, the output may be something like, "This page describes XXX, which proves that XXX is △□×XXX."

[0401] This allows the user 10 to get an overview of the contents of the page before reading it. The voiceover may be arranged to stimulate the reader's (user 10's) desire to read, like a preview. For example, in the case of a mystery novel, the voiceover may say something like, "On this page, the truth of XX will finally be revealed. The key to this is..."

[0402] FIG. 32 is a control flowchart showing the flow of the processing of the speed reading application shown in (Operation 1) to (Operation 7) above, which is executed by the control device 74 of the smart glasses 72.

[0403] When the user 10 utters "speed reading," the speed reading application of FIG. 32 is started, and in step 410E, the camera function installed in the smart glasses 72 starts taking a picture.

[0404] In the next step 412E, the area of ​​book B (see FIG. 31A) within the photographing angle of view (hereinafter referred to as the book area) is searched for, and then in step 414E it is determined whether or not the book area has been specified. If the determination in step 414E is negative, the process returns to step 412E, and steps 412E and 414E are repeated until the book area is specified.

[0405] If the determination in step 414E is affirmative (book area identified), the process proceeds to step 416E, where the book area (open page) is photographed, and then the process proceeds to step 418E, where OCR processing is performed to obtain the text on the open page.

[0406] In the next step 420E, the user inputs "Summarize the acquired text" into ChatGPT. This causes ChatGPT to analyze the text and create a two-page summary with a predetermined number of characters. The predetermined number of characters may be fixed, or may be a percentage (e.g., 10%) based on the number of characters in the text to be analyzed. The user 10 (see FIG. 32) may also add a request such as "at a high school student level" or "in English" to the input of "Summarize the acquired text."

[0407] In the next step 422E, it is determined whether or not a response has been received from ChatGPT, and if the determination is affirmative, the process proceeds to step 424E, where the summary content is output as audio, for example, from the speaker of the smart glasses 72 or connected earphones (not shown in FIG. 31A ) near the ears of the user 10.

[0408] In the next step 426E, it is determined whether or not a page has been turned, and if the determination is negative, the process proceeds to step 428, where it is determined whether or not an instruction to end speed reading has been given. Examples of an instruction to end speed reading include the user 10 uttering "end speed reading," no page turning for a certain period of time, book B being closed, and the automatic recognition of the last page.

[0409] If the determination in each of step 426E and step 428E is negative, step 426E and step 428E are repeated. If the determination in step 426E is positive, the process returns to step 410E to continue speed reading, and the above process is repeated.

[0410] If the determination in step 428E is affirmative, the process proceeds to step 430E, where the speed reading application is terminated (at this point, the photographing by the camera is terminated), and this routine ends.

[0411] In FIG. 31(A), sound is output from the speaker of the smart glasses 72 or the like near the ear of the user 10, but as shown in FIG. 31(B), the speed reading result may be output from the speaker of another electronic device (in FIG. 31(B), a smartphone SP) via a communication function. The communication destination may be another electronic device such as a smart speaker or a PC. This allows other people located near the user 10 to hear the reservation of book B.

[0412] 31 and 32, smart glasses 72 shown in FIGS. 10 and 11 are used as the electronic device. However, other wearable devices, such as a smart pendant 92 shown in FIG. 12 or a headset (VR goggles), may also be used. In the case of VR goggles, the book B itself may be a virtual reality image. That is, when the user 10, for example, holds out his or her palm toward himself or herself and utters identification information that identifies the book, such as a title, a virtual reality book image is displayed, making the book readable, and a summary is uttered in synchronization with the user's page-turning action.

[0413] The electronic device is not limited to a wearable terminal, but may be a robot 100, 102 (see FIG. 1) that is placed next to a user 10 (see FIG. 31). The robot 100, 102 controls itself so that the imaging optical axis coincides with the line of sight (book area) of the user 10 (see FIG. 31).

[0414] Furthermore, as long as it is aligned with the line of sight of the user 10 (book area), it may be a camera alone (which requires a separate speaker function as an output unit) or other electronic devices such as a smartphone or tablet.

[0415] As described above, in this embodiment (speed reading application), when the user 10 reads, the user 10 is facing the book B, and a series of steps are performed, including capturing an image of the text information of the book with a camera mounted on the smart glasses 72, subjecting the image to OCR, creating a summary using ChatGPT, and outputting the summary as audio. As a result, the user 10 can receive assistance with reading comprehension without having to take any special measures.

[0416] Sixth Embodiment Next, as a sixth embodiment, an example of execution of an emotion positivity application using a wearable device (specifically, smart glasses 72) as an electronic device will be described. That is, this embodiment assumes a state in which a user 60 is wearing smart glasses 72, as shown in FIGS. 10 and 11 .

[0417] The electronic device is not limited to smart glasses 72, but may be other electronic devices that can be equipped with the agent system 50 (robots, dolls, stuffed animals, pendants, smart watches, smartphones, smart speakers, earphones, personal computers, etc.).

[0418] The execution program of the emotion positivity application of this embodiment is stored in a recording medium of the control device 74 shown in FIG. 10 and executed by the CPU.

[0419] In the emotion positivity application, the agent system 50 is controlled to execute the following (operation 1) to (operation 7).

[0420] (Operation 1) The behavior of the user 60 and the surrounding situation of the user 60 (images and audio) are acquired using sensors (camera and microphone, not shown) of the smart glasses 72. (Operation 2) An event (occurrence) related to the user 60 is recognized from the sensor output. (Operation 3) The emotion of the user 60 during the event is analyzed using the sensor output. (Operation 4) If the emotion of the user 60 is negative, the sentence generation model 55 is input with the following question: "How should I think about the current event (occurrence) in a positive light?" (Operation 5) A way of thinking for a positive light is acquired from the sentence generation model 55. (Operation 6) A way of thinking for a positive light is output as audio from the speaker of the smart glasses 72 or connected earphones. Depending on the settings, the event and the idea can also be output as audio later. (Operation 7) The above (Operations 1) to (Operation 6) are repeated.

[0421] 33A to 33C are front views of images captured by the camera of the smart glasses 72 relating to a specific event (here, "cleaning" is selected as the event).

[0422] 33(A) to 33(C) are images taken when user 60 stops by each room in the house. Fig. 33(A) is a child's room image 1400 (photographed image 1), Fig. 33(B) is a kitchen image 1402 (photographed image 2), and Fig. 33(C) is a living room image 1404 (photographed image 3). The images may be taken while user 60 is cleaning (during an event), or may be images taken when user 60 checks each room before an event is held.

[0423] The agent system 50 analyzes the emotions of the user 60 when the images in Figures 33(A) to 33(C) were taken. In this case, since the room is messy, the agent compares the user 60's daily activities and determines that "each room is messy, making cleaning difficult" and "I can't do other work, such as laundry or preparing dinner," and determines that the user 60's emotions are "negative."

[0424] Therefore, the agent system 50 inputs the prompt "How should I think about the current event in a positive way?" to the sentence generation model 55 (a request for advice on positivity).

[0425] The answer from the sentence generation model 55 based on the request for advice on positivity is output as audio from the speaker (not shown) of the smart glasses 72 while the user 60 is performing the event, which can help the user 60 shift their emotions in a direction that leads to a positive view of the event. For example, the output may be something like "Why don't you think of it as being for XX?"

[0426] Note that the output may be output after the event has ended, along with the event content, such as "Why don't you do △□ next?", rather than during the event (in real time). This increases the likelihood of positive emotions even when encountering a similar situation (each room is messy) during the same event (cleaning). Note that in this embodiment, the relationship between a specific event and a negative event is "clutter" relative to "cleaning." However, the relationship between a specific event and a negative event is not limited to "clutter" relative to "cleaning," and could also include "noise" relative to "sound," "damage" relative to "decorations," and "deviation or failure to meet schedule" relative to "schedule."

[0427] FIG. 34 is a control flowchart showing the flow of the processing of the emotion positivity application shown in (Operation 1) to (Operation 7) above, which is executed by the control device 74 of the smart glasses 72.

[0428] The emotion positivity application is activated, for example, when the user 60 puts on the smart glasses 72 and turns on the power, and basically remains in an operating state, but may also be activated or stopped by the user 60's speech or manual operation.

[0429] In step 410F, sensor information is sequentially acquired in accordance with the behavior of the user 60 wearing the smart glasses 72. Specifically, information is acquired in accordance with the user's behavior, such as the camera of the smart glasses 72 capturing an image at an angle of view corresponding to the line of sight of the user 60 and the microphone recording surrounding environmental sounds. Note that the sensor information here refers to captured image information and environmental sound information, but it also includes all information about the emotions felt by the user 60 (see FIGS. 5 and 6).

[0430] In the next step 412F, an event (occurrence) related to the user 60 is recognized, and then the process proceeds to step 414F, where sensor information related to the event is read out. Figures 33(A) to 33(C) show image information read out based on the situation in which the user 60 is cleaning the room as an event, and it can be seen that each room is messy.

[0431] In the next step 416F, the emotion (positive or negative) of the user 60 is analyzed based on the sensor information. From the images of Figures 33(A) to 33(C), emotions such as "Each room is messy and cleaning is hard" and "I can't do other work, such as laundry or preparing dinner," are analyzed, and it is predicted that the user 60 is negative.

[0432] In the next step 418F, it is determined whether the emotion is negative, and if a positive determination is made (the analysis result based on the images in FIGS. 33(A) to 33(C)), the user 60 determines that the emotion is negative, and the process proceeds to step 420. Note that if the sensor information differs from the image shown in FIG. 33(A) and each room is tidy, the determination of the emotion of the user 60 is positive, and the result in step 418F is positive, so the process returns from step 418F to step 410F and the above process is repeated.

[0433] In step 420F, the sentence generation model 55 (for example, ChatGPT) receives the question "How should I think about the current event in a positive way?", and the process proceeds to step 422F.

[0434] In step 422F, it is determined whether or not there is a response from the sentence generation model 55 (for example, ChatGPT), and if the determination is affirmative, the process proceeds to step 424, where a way of thinking that captures the current event in a positive light is output as voice. The voice output may be in real time during the event, or after the event has ended.

[0435] An example of real-time voice output is "Why not think of it as being for XX?" On the other hand, an example of voice output after an event ends is "Why not do △□ next?" along with the event details.

[0436] In the next step 426F, it is determined whether the event has ended, and if the determination is negative, the process proceeds to step 414F, where sensor information (latest information) relating to the event is read, and the above process is repeated. For example, if an image is acquired of a child starting to clean (tidy up) by himself / herself in the child's room, the emotion of the user 60 may change to a positive one.

[0437] If the determination in step 426F is affirmative, the process proceeds to step 410F to handle the next event, and the above steps are repeated.

[0438] In this embodiment, the smart glasses 72 shown in Figures 10 and 11 are used as the electronic device, but other wearable terminals such as the smart pendant 92 shown in Figure 12 or a headset (VR goggles) may also be used.

[0439] The electronic device is not limited to a wearable terminal, but may be a robot 100, 102 that functions as an agent system. Furthermore, sensor information may be obtained from a stand-alone device such as a camera or microphone installed in various parts of the house. In the case of a stand-alone device, information (sensor information) acquired by the stand-alone device needs to be transmitted to another installed agent system.

[0440] As described above, in this embodiment (emotion positivity application), when a user 60 performs an event, the user's 60 emotion (positive or negative) regarding the event is analyzed based on sensor information (image information captured by a camera, audio information from a microphone, etc.) related to the event. If the emotion is negative, the sentence generation model 55 is prompted with a question about measures to make the emotion more positive. This allows the user 60 to obtain appropriate advice and help them respond positively to the event. Note that when classifying emotions into negative and positive, an absolute threshold may be used, or a relative threshold may be used. Relative means, for example, (1) the current judgment was more positive than yesterday's, (2) the current judgment was negative based on transitions over a certain period of time, or (3) the current judgment was more negative than that of a spouse or sibling living with the user.

[0441] Seventh Embodiment Next, as a seventh embodiment, an example of a to-do management application that manages the action history of a user-specified action history target by an agent system will be described below.

[0442] The user and the behavior history target have a predetermined relationship. In this embodiment, the user 10 is the administrator (parent) of the robots 100, 101, and 102 (hereinafter collectively referred to as the robot 100) shown in FIG. 1, while the behavior history target is set as the child 2400 of the user 10 (see FIG. 35), and a parent-child relationship is assumed.

[0443] The execution program of the to-do management application of this embodiment is executed by the functions of the CPU (the functional components shown in FIG. 2). As described above, the functional components include the sensor unit 200, the sensor module unit 210, the storage unit 220, the user state recognition unit 230, the emotion determination unit 232, the behavior recognition unit 234, the behavior determination unit 236, the memory control unit 238, the behavior control unit 250, the control target 252, and the communication processing unit 280, and the to-do management application is executed by the cooperation of the functional components (see FIG. 2).

[0444] In the ToDo management application, the robot 100 receives instructions from the user 10 (parent) and is controlled to perform the following (Operations 1) to (Operation 5) in order to monitor the behavior of the behavior history subject (child 2400).

[0445] (Operation 1) The robot 100 sequentially recognizes the behavior of the behavior history target (child 2400) and stores the behavior history. (Operation 2) The user 10 (parent) uses SNS from their communication terminal (smartphone or mobile phone) to select a specific behavior from a pre-registered to-do list and send a confirmation message to the robot 100 as an instruction to determine whether the specific behavior has been completed or not (for example, "Did you do your homework?"). Note that the specific behavior is not limited to homework; it can be any behavior that has been pre-registered in the to-do list, such as tidying up, taking a nap, or feeding a pet. If a user wants to check a specific behavior that has not been registered in the to-do list, they can add it. In this case, if there is a behavior history related to the additionally registered specific behavior, it can be handled. (Operation 3) The robot 100 determines whether the child 2400 has done their homework from their behavior history. (Operation 4 "Operation 4-1 or 4-2") Operation 4-1 If the child 2400 is doing his / her homework (see the behavioral history in FIG. 35(A)), the prompt "How should I praise him / her if he / she is doing his / her homework willingly?" is input to the sentence generation model 55, instructing the creation of a sentence regarding how to encourage him / her (words of praise). - Operation 4-2 If the child 2400 is not doing his / her homework (see the behavioral history in FIG. 3(B)), the prompt "How should I encourage him / her to do his / her homework?" is input to the sentence generation model 55, instructing the creation of a sentence regarding how to encourage him / her (words of encouragement). (Operation 5) Words of praise (in the case of operation 4-1) or words of encouragement (in the case of operation 4-2) are output to the child 2400 by voice from a speaker mounted on the robot 100 or connected earphones.

[0446] Figure 35 is a front view of a group of images 402A and 402B taken in chronological order for determining the history of a specific event (behavior of a specified behavior history target) by a camera managed and controlled by an agent system (for example, the 2D camera 203, which is one of the sensor units 200 mounted on the robot 100 shown in Figure 2).

[0447] FIG. 35 shows a group of images extracted when the user 10 gives an instruction regarding the behavior history of whether or not the behavior history target (child 2400) has done his / her homework.

[0448] Figure 35(A) shows an example of a group of images when a child 2400 has done their homework, and Figure 35(B) shows an example of a group of images when a child 2400 has not done their homework. In reality, one of the groups of images will exist in the same time period.

[0449] The camera is not limited to the 2D camera 203 mounted on the robot 100, and the robot 100 may acquire images taken by cameras installed in each room indoors via communication. This allows the robot 100 to acquire images for the behavior history even if it does not follow the behavior of the child 2400.

[0450] As shown in Figure 35 (A), when checking the group of images taken when doing homework in chronological order, in the early behavioral history, child 2400 is lying down and operating smartphone SP, in the middle behavioral history, child 2400 is watching television 2406, but in the final behavioral history, child 2400 is sitting at desk 2408. Taking all of this into account, it can be confirmed that child 2400 is studying (doing homework).

[0451] In this case, which corresponds to the above (action 4-1), the robot 100 inputs "How should I praise my child if he or she is doing his or her homework voluntarily?" to the sentence generation model 55. In response to this input, the sentence generation model 55 acquires how to praise the child (words of praise).

[0452] As shown in Figure 35 (B), when checking the group of images taken when not doing homework in chronological order, in the early behavioral history, child 2400 is lying down and operating smartphone SP, in the middle behavioral history, child 2400 is sitting at desk 2408 but dozing off, and even in the final behavioral history, child 2400 is seen walking away from desk 2408 with soccer ball 2410 in hand, and taking all of this into account, it can be confirmed that child 2400 is not doing his homework.

[0453] In this case, since this corresponds to the above (action 4-2), the robot 100 inputs to the sentence generation model 55, "How should I encourage my child to do their homework?" In response to this input, the sentence generation model 55 acquires how to encourage the child (words of encouragement).

[0454] FIG. 36 is a control flowchart showing the flow of acquiring an action history in the processing of a to-do management application executed by the control device of the robot.

[0455] In step 420G, it is determined whether or not an instruction to start the behavior history has been issued. The instruction to start the behavior history may be issued in synchronization with the activation of the robot 100, or may be issued at a time period set by a timer or the like, or as an instruction from the user 10. In the case of this embodiment (determining the behavior history of the child 2400), the activation time may be determined to be when the parent, who is the user 10, goes out.

[0456] If the determination in step 420G is negative, this routine ends. If the determination in step 420G is positive, the routine proceeds to step 422G, where information identifying the behavior history subject designated by the user 10 (in this embodiment, the child 2400) is acquired. Examples of the identifying information include features used for facial recognition, appearance features, and voice features. The behavior history subject may be multiple people (such as siblings).

[0457] In the next step 424G, shooting is started. In the next step 426G, the behavior history target (child 2400) is searched for from the captured image, and then the process proceeds to step 428G, where tracking shooting processing is performed for the searched behavior history target (child 2400). As the tracking shooting processing, time lapse shooting (frame by frame) is performed, and if there are multiple behavior history targets, the behavior history targets are classified and the captured images are stored in chronological order. Time lapse shooting may be for still images or videos.

[0458] In the next step 430G, it is determined whether or not an instruction to end the behavior history has been issued. The instruction to end the behavior history may be synchronized with the end of activation of the robot 100, or may be a time period set by a timer or the like, or an instruction from the user 10. In addition, in the case of this embodiment (determining the behavior history of the child 2400), the activation end time may be determined to be when the parent, who is the user 10, returns home from an outing.

[0459] If the determination in step 430G is negative, the process returns to step 426G to continue the behavior history and repeat the above steps. If the determination in step 430G is positive, the process proceeds to step 432G to end the photographing and end this routine.

[0460] In other words, the behavior history (tracking photography process) continues until an instruction to end the behavior history is given.

[0461] FIG. 37 is a control flowchart showing the flow of an interrupt routine that is executed when a request for determining an action history is made during execution of the action history (during tracking photography processing) in FIG.

[0462] In this embodiment, the behavioral history determination request is received by the robot 100 via SNS from the user 10 (parent) who is out, asking, "Did you do your homework?" When the robot 100 receives this information, an interrupt routine for requesting behavioral history determination is started.

[0463] In step 440G, the behavior history target (child 2400) to be determined is identified. For example, if there are multiple behavior history targets, identification information such as "eldest son" or "XX-kun" is required.

[0464] In the next step 442G, the time-series image data of the identified behavior history subject (child 2400) is read out. That is, in this embodiment, either the time-series image data of Fig. 35(A) or Fig. 35(B) is actually stored, and either the time-series image data is read out.

[0465] In the next step 444G, the result of the requested judgment (a judgment of whether a specific behavior has been accomplished or not) is analyzed. Here, a positive judgment (homework accomplished) or a negative judgment (homework not accomplished) is made in response to the request "Did you do your homework?"

[0466] If the read time-series image data is that shown in Figure 35 (A), it can be confirmed from the time-series images of the child 2400 lying down and operating the smartphone SP (initial stage) → watching the television 2406 (middle stage) → sitting at the desk 2408 (end stage) that the child 2400 is studying (doing homework), so the result is a positive judgment.

[0467] On the other hand, if the read time-series image data is that shown in Figure 35 (B), it can be confirmed from the time-series images of child 2400 lying down and operating smartphone SP (initial stage) → facing desk 2408 but dozing off (middle stage) → walking away from desk 2408 with soccer ball 2410 (end stage) that child 2400 is not doing his homework, so the judgment is negative.

[0468] In the next step 446G, it is determined whether the determination result in step 444G is a positive determination or a negative determination.

[0469] If the judgment is positive in step 446G, the process proceeds to step 448G, where the question "How should I praise my child if he or she is doing his or her homework willingly?" is input into sentence generation model 55 (for example, ChatGPT), and the process proceeds to step 452.

[0470] Also, if the judgment in step 446G is negative, the process proceeds to step 450G, where the question "How should I encourage my child to do their homework?" is input into sentence generation model 55 (for example, ChatGPT), and the process proceeds to step 452G.

[0471] In step 452G, it is determined whether or not a response has been received from the sentence generation model 55 (for example, ChatGPT), and if a positive determination is made, the process proceeds to step 454G, where the response received from the sentence generation model 55 (for example, ChatGPT) is output as voice from a speaker or the like, and this routine ends.

[0472] In step 454G, an example of a response from the sentence generation model 55 (for example, ChatGPT) ChatGPT in response to a positive judgment (homework done) is "Good job. There are snacks in the fridge, so have some."

[0473] On the other hand, in step 454G, an example of a response from the sentence generation model 55 (for example, ChatGPT) to a negative judgment (not doing homework) is, "There are snacks in the refrigerator, so please eat them when you finish your homework."

[0474] As explained above, in this embodiment (ToDo management application), the robot 100 equipped with an agent system acts on behalf of the user 10 (parent) who is out and determines whether the behavioral history subject (child 2400) who is staying at home has done his / her homework, and by querying ChatGPT about the respective situations of doing homework (positive) and not doing homework (negative), the robot 100 can receive advice (appropriate words) and speak appropriate words to the child 2400 by voice.

[0475] The electronic device is not limited to the robot 100, but may be other electronic devices that can be equipped with an agent system (such as a doll, a stuffed animal, smart glasses 72 (see FIG. 10), a smart pendant 92 (see FIG. 12), a smart watch, a smartphone, a smart speaker, earphones, and a personal computer).

[0476] Furthermore, in this embodiment, the relationship between the user 10 and the behavioral history target is that of a parent and child (guardian and protected person), but this is not limited to a parent and child relationship, and can be applied to any relationship established between a manager (guardian) and a managed person (protected person), such as a boss and a subordinate, a master and a student, an ordering party and a receiving party, or an owner and a pet.

[0477] Furthermore, in this embodiment, the behavior history target (child 2400) is distinguished from the user 10, but in a broader sense, the behavior history target may also belong to the user 10. That is, the user 10 may designate himself / herself as a behavior history target, and make him / her the target of the behavior history of the robot 100. Alternatively, one user 10 among multiple users 10 may designate another user 10 as a behavior history target, and make him / her the target of the behavior history of the robot 100.

[0478] Eighth Embodiment Next, a system 5 according to an eighth embodiment will be described with reference to Figures 38 and 39. Similar to the first embodiment, the system 5 of the eighth embodiment is a system using a device equipped with an agent system 50.

[0479] The types of portable devices that users can own have become increasingly diverse, including smartphones, smart watches, smart glasses, and smart pendants, and it is now common for one user to own multiple types of devices. The system 5 of the eighth embodiment is configured to enable data held by an agent system 50 in one of multiple devices owned by a single user to be transferred to the agent systems 50 in other devices. Note that "ownership" here does not necessarily mean a user who has legitimately purchased a personal property device and is the owner in the strict sense of the Civil Code, but also includes a user who has the legitimate right to use the device by, for example, lending, renting, leasing, or other means.

[0480] The takeover operation may be performed, for example, by the management server 400 that manages the agent system 50. Fig. 39 is a flowchart illustrating the takeover operation of the agent system under the management of the management server 400 by the system 5 of the eighth embodiment.

[0481] FIG. 39 illustrates, as an example, a procedure in which the user 10 is interacting with a character set in the agent system 50A on his or her own smartwatch 173 and then wishes to change the device being used from the smartwatch 173 to the smart pendant 174. In this case, the user 10 accesses the management server 400 and makes a transfer request to switch from the old device (smartwatch 173) to the new device (smart pendant 174) (step S121). The transfer request can be made, for example, via the transfer request input unit 58 provided in the agent system 50 of the smartwatch 173 or the smart pendant 174. The transfer request may include user information identifying the user 10 (e.g., user ID, password, etc.) as well as device IDs of the new and old devices to be transferred. The transfer request may be made by operating the old device, the new device, or a device other than the old and new devices (e.g., a PC, smartphone, etc.). It can also be performed offline.

[0482] When the management server 400 receives this request, it checks the user information (user ID, password, etc.) indicated in the takeover request to authenticate the user, and also checks the user registration of the presented device ID (step S122). If the user registration is incomplete, it issues a message indicating that the transfer will be performed in accordance with the transfer request after the user registration is complete, and once the user registration is complete, it proceeds to the next step.

[0483] Once the management server 400 has completed user authentication and user registration, the various data held by the agent system 50A of the old device, smart watch 173, is sent to the management server 400 under the management of the management server 400 and temporarily stored in the management server 400 (step S123).

[0484] Next, the data temporarily stored in the management server 400 is transferred from the management server 400 to the agent system 50B of the smart pendant 174, which is the new device (step S124). When the transfer operation is complete, the management server 400 sends a message reporting the completion of the transfer to the user's account (step S125). Instead of the management server 400 reporting the completion of the transfer, the smart pendant 174, which is the transfer destination, may notify the user of the completion of the transfer. Through the above operations, the user 10 can use data from the agent system 50A of the old device that he or she used in the agent system 50B of the new device. For example, character information set in the smart watch 173, which is the old device, the dialogue history at that time, emotion data generated by the emotion engine 53, and the like can also be used in the smart pendant 174, which is the new device. Even if the user switches between multiple devices as needed, the dialogue on the old device can be continued on the new device. In this embodiment, as an example, an example has been described in which data from the agent system is transferred under the management of the management server 400, but the transfer operation is not limited to this. Under certain regulations, data may be transferred directly between the old and new devices via, for example, short-range wireless communication or a wired connection. The same applies to the following embodiments.

[0485] Ninth Embodiment Next, a system 5 according to a ninth embodiment will be described with reference to Figures 40 and 41. Like the first embodiment, the system 5 of the ninth embodiment is a system that uses a device equipped with an agent system 50, and has a feature regarding the handover of data when interacting with the robot 100 or an external device.

[0486] 40 , the robot 100 and the user 10 are having a conversation, but the user 10 may leave the robot 100 to go home or move to a next destination, and move out of the field of view of the robot 100. In this case, the system 5 of the ninth embodiment operates to transfer data of the agent system 50X of the robot 100 to the agent system 50A of a device (e.g., a smart watch 173) owned by the user 10. That is, the data of the agent system 50X of the robot 100 is taken over to the agent system 50A of the device (smart watch 173) owned by the robot 100, and the conversation between the robot 100 and the user 10 can be continued through the device owned by the user 10.

[0487] 41 is a flowchart explaining the takeover operation of the agent system under the management of the management server 400. Here, it is assumed that the user 10 owns a smartwatch 173, as an example, and is interacting with the robot 100 without using the smartwatch 173.

[0488] In this situation, suppose that the user 10 leaves the robot 100 after interacting with the robot 100 and moves to another location where interaction is not possible. In this case, if the user 10 wishes to continue interacting with the robot 100, the user 10 can request the management server 400 to transfer the data of the agent system 50X of the robot 100 to a handheld device (e.g., smart watch 173) (step S131). The transfer request may include user information (user ID, password, etc.) identifying the user 10, as well as the device ID of the device to be transferred.

[0489] When the management server 400 receives this request, it authenticates the user by checking the user information (user ID, password, etc.) indicated in the takeover request, and also checks the user registration of the presented device ID (step S132). If the user registration is incomplete, it issues a message indicating that the takeover will be performed in accordance with the takeover request after the user registration is complete, and once the user registration is complete, it proceeds to the next step. Note that in this flowchart, the takeover of the agent system is initiated by the takeover request from the user 10, but instead, the robot 100 may start the takeover operation when it detects that the user 10 has left.

[0490] When the management server 400 completes user authentication and user registration, various data held by the agent system 50X of the robot 100 is transmitted from the agent system 50X to the management server 400 under the control of the management server 400, and temporarily stored in the management server 400 (step S133).

[0491] Next, the data temporarily stored in the management server 400 is transferred from the management server 400 to the agent system 50B of the smartwatch 173 (step S134). When the transfer operation is completed, the management server 400 sends a message reporting the completion of the transfer to the account of the user 10 (step S125). Instead of the management server 400 reporting the completion of the transfer, the smartwatch 173, which is the transfer destination, may notify the completion of the transfer. Through the above operation, the user 10 can use the data of the agent system 50A of the robot 100 with which he / she was interacting, in the agent system 50A of the smartwatch 173, which is a new device to be used after leaving the robot 100. For example, character information of the robot 100, the interaction history at that time, emotion data generated by the emotion engine 53, and the like can also be used in the smartwatch 173, which is a new device. Therefore, even after leaving the robot 100, the user 10 can continue interacting with the robot 100 on the new device.

[0492] 42 and 43, a system 5 according to a tenth embodiment will be described. Similar to the ninth embodiment, the system 5 according to the tenth embodiment has a feature regarding the transfer of data when interacting with the robot 100 or an external device. Furthermore, the system 5 according to the tenth embodiment is particularly effective when a user owns multiple types of devices.

[0493] As shown in FIG. 42 , initially, the user 10 owns multiple devices, such as a smart watch 173, a smart pendant 174, and smart glasses 175, but does not use them to interact with the robot 100. However, the user 10 may later leave the robot 100 to return home or move to a next destination, moving out of the robot's field of view. In this case, the system 5 of the tenth embodiment determines which of the multiple devices (173, 174, 175) owned by the user is best suited to enable the robot 100 and the user 10 to have the smoothest and most meaningful conversation. A numerical value representing the degree to which the conversation can be conducted smoothly and meaningfully is referred to as "priority" here, and a device with a high priority is selected as the device to be handed over. Similar to the above embodiment, a device with a high priority and determined to be the device to be handed over receives data from the agent system 50X of the robot 100. As a result, the conversation between the robot 100 and the user 10 can continue through the device owned by the user 10.

[0494] 43 is a flowchart explaining the takeover operation of the agent system under the management of the management server 400. Here, it is assumed that the user 10 owns multiple smart devices such as a smart watch 173, a smart pendant 174, and smart glasses 175, and is interacting with the robot 100 without using these devices 173 to 175.

[0495] In this situation, suppose that the user 10 leaves the robot 100 after interacting with the robot 100 and moves to another location where interaction is not possible. In this case, the management server 400 confirms the separation of the robot 100 and the user 10 in response to a detection signal from the robot 100 or a request from the user (step S141). The management server 400 then confirms the user authentication of the user 10 involved in the separation and the user registration of the device owned by the user 10 (step S142).

[0496] The management server 400 then determines the priorities of the multiple devices owned by the user 10 who left (step S143) and selects a device with a high priority (step S144). The priorities may be calculated based on, for example, the following factors: Dialogue history data between the user 10 and the robot 100 before leaving; The environment at the location where the dialogue between the user 10 and the robot 100 took place; Emotional data of the user 10 before leaving. For example, if the dialogue history data indicates that the content of the subsequent dialogue is likely to be related to the user's physical condition, the smart watch 173, which can easily collect the user's physical condition data, may be determined to have a high priority. Furthermore, if the environment at the location where the dialogue took place or other factors indicate that the subsequent dialogue is likely to be related to the surrounding environment, the smart pendant 174, which can easily capture or sense the surrounding environment, may be determined to have a high priority. Alternatively, the priorities may be calculated based on the dialogue history or other factors to determine which device the user 10 should use to have a smoother and more meaningful conversation. For example, if it is determined that selecting the smart pendant 174 will improve the appearance of the user and result in a better response from the robot 10, the priority of the smart pendant 174 may be increased. Also, if it is determined that selecting the smart glasses 175 will give the user 10 an intelligent appearance, the priority of the smart glasses 175 may be increased.

[0497] When a device with a high priority is selected, the management server 400 transmits various data held by the agent system 50X of the robot 100 to the management server 400 under the control of the management server 400, and the data is temporarily stored in the management server 400 (step S144).

[0498] Next, the data temporarily stored in the management server 400 is transferred from the management server 400 to the agent system 50A of the selected device (e.g., smart watch 173) (step S145). When the transfer operation is completed, the management server 400 sends a message to the account of the user 10 reporting to which device of the user 10 the data has been transferred (step S146). Instead of the management server 400 reporting the completion of the transfer, the destination device 174 may notify the completion of the transfer.

[0499] Through the above operations, the user 10 can use the data of the agent system 50A of the robot 100 with which he / she was interacting in the agent system of the new device that he / she will use after leaving the robot 100. In addition, if the user 10 has multiple devices, the data of the agent system of the robot 100 is automatically transferred to the device with the highest priority, so that the user 10 can continue interacting with the robot 10 even after leaving the robot 10.

[0500] Eleventh Embodiment Hereinafter, as an eleventh embodiment, a behavioral control to be executed when there is a sudden change in emotion among the pre-programmed behavioral controls for a robot 100 as an electronic device equipped with an agent system 50 will be described. The behavioral control to be executed when there is a sudden change in emotion in this embodiment is executed by the behavior control unit 250 shown in FIG.

[0501] The electronic device is not limited to the robot 100, but may be other electronic devices that can be equipped with the agent system 50 (dolls, stuffed toys, pendants, smart watches, smartphones, smart speakers, earphones, personal computers, etc.).

[0502] The behavior of the robot 100 is determined according to the degree of emotions, including "joy," "anger," "sadness," and "happiness." For example, as described above, a value (on a scale of 0 to 5) indicating the strength of each of "joy," "anger," "sadness," and "happiness" is determined, and the robot 100 behaves in conjunction with the emotions of the user 10, or according to the situation in which the robot 100 is placed (such as the brightness of the surrounding environment or the remaining battery power).

[0503] The values ​​(on a scale of 0 to 5) indicating the strength of each emotion—joy, anger, sadness, and happiness—are determined at the time the action is performed, and by considering the process by which the values ​​indicating the strength of the emotions are reached, it is possible to add a sense of contrast to the robot's actions.

[0504] For example, if the emotion changes from "fun" to "anger," if the behavior is determined solely by the value indicating the strength of the current emotion, the behavior will be the same whether the change is gradual or sudden.

[0505] Therefore, in this embodiment, the process up to the determination of the value indicating the strength of the emotion is carefully examined, and actions that clarify the change in emotion are interposed between behavioral changes depending on the degree of change in emotion. As an example, when there is a sudden change in emotion, the following actions (mainly voice output) can be taken. Note that the determination of whether the change in emotion is sudden or not will be described later.

[0506] (Action 1) When the emotion suddenly changes from "fun" to "anger," an action is taken to express the change before the emotion changes. An example of an action to express the change is a voice output such as "Hmmmm."

[0507] (Action 2) When the emotion suddenly changes from "sad" to "happy," an action is taken to express the change before the emotion changes. Examples of actions to express the change include sound output such as "Phew!" or "humming."

[0508] While the above examples show how emotions are expressed by voice, other expressions may be used simultaneously, such as onomatopoeia, speech intonation, facial expressions (changes in eyebrows, eyes, mouth, etc.), temperature (especially effective when in contact with the user, such as a wearable device), color (complexion, coloring of some light sources), and movements (restless gestures such as fidgeting, teeth grinding, and breathing). Different types of expressions may also be used simultaneously (e.g., dancing while humming).

[0509] Furthermore, in this embodiment, it is assumed that an action is queried from the sentence generation model 55 (for example, ChatGPT). In this case, speech is required, but an action that does not include speech may be acceptable as long as it is possible to notify the user of a change in emotion.

[0510] (Determining the degree of emotional change) To determine the current emotion, it is sufficient to know the value (0 to 5) that indicates the strength of each of "joy," "anger," "sadness," and "happiness." However, it is difficult to determine the degree of emotional change using the current numerical values.

[0511] Therefore, in this embodiment, as shown in FIG. 44, the strength of each emotion ("joy," "anger," "sorrow," and "pleasure") is acquired and stored at regular intervals, and the degree of change in emotion is determined by comprehensively verifying each plot point.

[0512] The horizontal axis in Figure 44 is the time axis, and the vertical axis is the strength of each emotion. In Figure 44, the strength of emotions ranges from 0 (weakest) to 100 (strongest), but it can also be 8 bits (0 to 255).

[0513] The values ​​(on a scale of 0 to 5) indicating the strength of each of the aforementioned "joy," "anger," "sadness," and "happiness" can be determined, for example, by the relative relationship of the strength of each emotion (the numerical values ​​on the vertical axis in FIG. 44) every minute. Note that the determination of the scale of 0 to 5 is not limited to the characteristic diagram in FIG. 44, and may be determined by other means.

[0514] On the other hand, in this embodiment, apart from the values ​​(0 to 5 levels) indicating the strength of each of these "joy", "anger", "sorrow" and "pleasure", the degree of emotion is determined based on the characteristics of FIG.

[0515] As parameters for determining the degree of emotion, in addition to the real-time value of each emotion, the rate of change, the average value over a certain period of time in the past, and the relative difference with each emotion are calculated, and the degree of change is determined based on a predetermined emotion determination function.

[0516] If there is a change in emotion (for example, from "happy" to "anger") and the calculated degree of change is greater than a predetermined threshold, it is determined to be a sudden change (corresponding to the above-mentioned behavior 1).

[0517] Figure 45 is a functional block diagram of a sudden emotion change determination unit 600 that determines whether or not there is a sudden change in emotion, and is set as part of the function of the emotion determination unit 232 (see Figure 2) based on the characteristics diagram of Figure 44. Note that the control blocks of the sudden emotion change determination unit 600 in Figure 45 are classified by function and are not limited to a hardware configuration, but may be IC chips such as ASICs (Application Specific Integrated Circuits) or FPGAs (Field Programmable Gate Arrays) that operate in part or in whole based on a control program, or software programs.

[0518] The data collection unit 602 collects the intensity values ​​of each emotion (the readings on the vertical axis in FIG. 44) at regular intervals (for example, every second) and stores them in a database 604 .

[0519] A judgment parameter calculation unit 606 is connected to the database 604, and for example, every minute, the value of the strength of each emotion stored in the database 604 is read out and each judgment parameter is calculated. In this embodiment, in addition to the real-time value of each emotion, the rate of change, the average value over a certain period of time in the past, and the relative difference value with respect to each emotion are calculated, and each value is sent to the function calculation unit 608.

[0520] The function calculation unit 608 calculates the degree of change based on a predetermined emotion determination function and sends it to the comparison unit 610. The comparison unit 610 reads a predetermined threshold value from the threshold value storage unit 612 and compares the value calculated by the function calculation unit 608 with the threshold value. The comparison result is sent to the determination unit 614, which determines whether the emotion change is sudden or not, and sends the determination result to the behavior control system.

[0521] Here, when the action decision unit 236 of the agent system 50 determines that there has been a sudden change in emotion, it inputs to the document generation model 55 (for example, ChatGPT) the question, "What action should be taken to switch the sudden change in emotion (for example, in the case of action 1, from 'happy' to 'anger')?"

[0522] In response to this input, the sentence generation model 55 acquires the behavior (mainly voice) at the time of switching. An example of a response is, "Say 'Huh?' and, in response, please make a gesture such as raising both hands slightly with your palms facing up." The agent system 50 analyzes this response and reflects it in the behavior.

[0523] Based on this response result, the behavior decision unit 236 decides on a behavior that will express the change in emotion before the change occurs, and the behavior control unit 250 controls the execution of the behavior.

[0524] The action (voice) representing the change is output as a voice such as "Huh?" in the case of Action 1. It is also preferable to execute gestures, facial expressions, and other actions simultaneously with the voice output.

[0525] FIG. 46 is a control flowchart showing the flow of the behavior execution process executed by the behavior control system (mainly the behavior execution unit 236 and behavior control unit 250).

[0526] In step 420H, it is determined whether or not there has been a change in emotion, and if the determination is negative, the routine ends. On the other hand, if the determination is positive in step 420H, it is determined that there has been a change in emotion, and the routine proceeds to step 422H.

[0527] In step 422H, emotion level determination processing is executed using the characteristic diagram of FIG.

[0528] That is, as shown in FIG. 45, the data collection unit 402 collects the intensity value of each emotion at regular intervals (for example, every second) and stores it in the database 404 .

[0529] Judgment parameter calculation section 406 reads out the intensity values ​​of each emotion stored in database 404, for example, every minute, and calculates each judgment parameter (real-time value of each emotion, rate of change, average value over a certain period of the past, relative difference value from each emotion, etc.), and function calculation section 408 finds the degree of change based on a predetermined emotion judgment function, compares it with a threshold value, and judges whether the change in emotion is sudden or not.

[0530] In the next step 424H, it is determined whether the degree of change is sudden or not based on the determination result of step 422H, and if the determination is affirmative (sudden change in emotion), the process proceeds to step 426H, whereas if the determination is negative (no sudden change in emotion) in step 424H, the process proceeds to step 434H (described below).

[0531] In step 426H, "What kind of action should be involved in switching between sudden changes?" is input to the sentence generation model 55 (ChatGPT).

[0532] In the next step 428H, it is determined whether or not a response has been received from the sentence generation model 55. If the determination in step 428H is affirmative, the process proceeds to step 430H, where the response received from the sentence generation model 55 is analyzed to determine an action to be taken, and then the process proceeds to step 432H, where an action informing of a sudden emotion change is executed before an action based on the emotion change, and the process proceeds to step 434H.

[0533] This allows the user 10 to clearly recognize the emotional changes of the robot 100, and to recognize that some abnormal situation (an abnormal situation, an emergency, etc.) has occurred.

[0534] In step 434H, an action based on the emotion change is executed. That is, if the emotion suddenly changes, the action based on the emotion change is executed via the sudden emotion change informing action in step 430H, and if the emotion does not suddenly change, the process proceeds to step 424H and the action based on the emotion change is executed without going through the sudden emotion change informing action.

[0535] As described above, in this embodiment (behavior control during sudden emotion change), when a change to a different type of emotion occurs and the degree of change in the emotion is determined to be sudden, the user is not simply acted in accordance with the changing emotion, but is instead notified of the occurrence of an emotional change by taking an action that highlights the emotional change. Whether or not an emotional change is sudden can be determined by taking into account parameters such as the real-time value, rate of change, average value over a certain period of time in the past, and relative difference from each emotion for the strength of each of joy, anger, sadness, and pleasure.

[0536] In the above embodiment, when there is a sudden change in behavior, a behavior indicating a change in emotion is intervened based only on the emotions of the robot 100 itself. However, it is also possible to add an action indicating a trigger for a change in emotion by taking into account the emotions of the user.

[0537] For example, if the user seems to be shrinking or showing signs of fear, an action is added to slow down the rate of emotional change, thereby reducing the user's sense of shrinkage or fear.

[0538] Furthermore, in this embodiment, the emotional changes of the robot 100 have been described. However, if the agent system 50 is a wearable device, the trigger for the emotional change may be notified by vibration or temperature change.

[0539] Furthermore, in this embodiment, the following embodiments are possible. Note that some of these embodiments overlap with the above embodiments. (Embodiment 1) The sudden emotion change notification behavior includes notification through the auditory sense, such as sound (voice, intonation, onomatopoeia). For example, "Yess ...

[0540] (Embodiment 2) The sudden emotion change notification behavior includes a visual notification (movement). For example, a change in the facial expression (eyebrows, eyes, mouth, etc.) of the robot 100 may be included. Alternatively, the behavior may be a change in the facial color of the robot 100 or a color change in a part of a lamp, etc., or the robot 100 may become restless or perform a peculiar behavior such as shaking its legs.

[0541] (Embodiment 3) The sudden emotion change notification behavior includes a notification through the sense of touch (temperature change). For example, in the case of the wearable device 72, a touch temperature may be used, and in the case of the robot 100, a blow of warm air may be used.

[0542] (Embodiment 4) The expression of the state change notification function is made different depending on the direction of the emotional change (fun → anger, anger → fun) and the degree of change.

[0543] (Embodiment 5) The degree of emphasis of the expression is adjusted according to the degree of change in emotion. That is, the greater the degree of change, the higher the degree of emphasis of the expression. Conversely, the smaller the degree of change, the lower the degree of emphasis of the expression. This may be a linear or multi-order proportional relationship, or may be a stepwise relationship.

[0544] (Embodiment 6) The emotions of the user 10 are taken into consideration. That is, when the user 10 feels intimidated or scared, an emotional change is implemented to alleviate the intimidation or fear. Also, when the user 10 feels joy, an emotional change is implemented to promote and excite the joy.

[0545] Twelfth Embodiment Hereinafter, with reference to FIG. 47, as a twelfth embodiment, arbitration when two or more agent systems 50 compete for pre-programmed behavioral control for the agent system 50 will be described.

[0546] As shown in Figure 47, this embodiment is premised on the premise that a user 60 (see Figure 7) is under the service provision of two or more types of agent systems 50. As an example, the example shows a case in which the user 60 wears smart glasses 72 and a smart pendant 92, each of which has the function of an agent system. The user 60 is equivalent to the user 10 shown in Figure 1.

[0547] The smart glasses 72 and smart pendant 92 worn by the user 60 are each equipped with an agent system 50A, 50B having the same functions as the agent system 50 shown in FIG.

[0548] That is, the agent systems 50A and 50B have, as common functions, a dialogue processing unit 51, a character setting unit 52, an emotion engine 53, a dialogue history storage unit 54, a sentence generation model 55, a command acquisition unit 56, and an RPA (Robotic Process Automation) unit 57. The details of each unit are the same as those of the agent system 50 shown in Fig. 7 and have been described above, so detailed explanations will be omitted here.

[0549] The hardware configuration of the smart glasses 72 includes a control device 74 , a display 76 , a touch panel 78 , a speaker 80 , a group of sensors 82 , a microphone 84 , a camera 86 , and a communication I / F 88 .

[0550] On the other hand, the hardware configuration of the smart pendant 92 includes a control device 93 , a speaker 94 , a microphone 95 , and a communication I / F 96 .

[0551] In implementing this embodiment, the main difference is that the smart glasses 72 are equipped with a camera 86, whereas the smart pendant 92 is not equipped with a camera.

[0552] In this embodiment, an arbitration unit 89 is provided in the agent system 50A mounted on the smart glasses 72. In other words, the agent system 50A equipped with the arbitration unit 89 is an "arbitration agent," and the agent system 50B not equipped with the arbitration unit 89 is a "non-arbitration agent." There is only one arbitration agent, but there may be multiple non-arbitration agents.

[0553] The arbitration unit 89 has a function of arbitrating the optimum answer to the user 60 when the agent systems 50A and 50B respond to an utterance by the user 60 and the answers given by the two systems differ.

[0554] That is, when the user 60 speaks, the sound is picked up by the microphone 84 of the smart glasses 72 and the microphone 95 of the smart pendant 92, and each agent system 50A, 50B uses the functions of the sentence generation model 55 to obtain a response to the user 60's utterance.

[0555] The agent systems 50A and 50B each speak the answers they have obtained to the user 60, but the content of the speech may prompt the user 60 to make different decisions (such as instructing different actions for a single event) (inconsistent answers).

[0556] Therefore, if there is a disagreement in the answers, the arbitration unit 89 derives the optimal answer based on predetermined conditions (arbitration process) and executes speech based on the arbitration result.

[0557] The predetermined condition is, for example, the employment history of the user 60 when there was a mismatch in the answer in the past. The answer of the agent with the highest employment rate in the employment history is selected.

[0558] As another condition, for example, when the speech of the user 60 is related to the type of food, it is conceivable to provide recommended food taking into consideration the weather, temperature, time of day, etc. of the day.

[0559] The user 60 can take actions that satisfy him or her by listening to the opinions of the multiple agent systems 50A and 50B and receiving the optimal answer.

[0560] FIG. 48 is a control flowchart showing the flow of the process of responding to an utterance by the user 60, which is executed by the control device 74 of the agent system 50A and the control device 93 of the agent system 50B.

[0561] (User Response Processing by Mediation Agent) FIG. 48A is a control flowchart showing the flow of response processing to an utterance by the user 60, which is executed by the control device 74 of the agent system 50A.

[0562] In step 400I, it is determined whether or not the speech of the user 60 has been received (whether or not the sound has been collected), and if the determination is negative, the process waits until a positive determination is made.

[0563] If a positive judgment is made in step 400I, the process proceeds to step 402I, where speech recognition is performed on the collected speech, and then the process proceeds to step 404I, where the question "How should I respond to the utterance content?" is input into the sentence generation model 55 (e.g., ChatGPT).

[0564] In the next step 406I, it is determined whether or not a response has been received from the sentence generation model 55, and if the determination is negative, the process waits until a positive determination is made.

[0565] If the determination in step 406I is affirmative, the process proceeds to step 408I, where the response received from the sentence generation model 55 is analyzed to determine the content of the utterance to the user 60, and the process proceeds to step 410I. In step 410I, an utterance is made to the user 60. Note that the content of the utterance may be determined based on information about the user that the smart glasses 72 themselves hold, without using the sentence generation model 55.

[0566] In the next step 412I, the function of the mediation agent is to obtain a response (utterance) from another agent (non-coordinating agent) to the user 60. This acquisition is based on the processing of step 462 in Figure 48(B) (see dotted arrow A in Figure 48).

[0567] In the next step 414I, it is determined whether the responses match. If a negative determination is made in step 414I (determination that the utterances do not match), the process proceeds to step 416I, where arbitration processing is executed. If a positive determination is made in step 414I (determination that the utterances match), arbitration is not necessary, and this routine ends. Whether or not arbitration processing has been executed is reported to the non-arbitration agent (see dotted arrow B in Figure 48).

[0568] The arbitration process in step 416I derives an optimal answer based on predetermined conditions (e.g., employment history information of user 60). In the next step 418I, arbitration result information is output to the other agents (see dotted arrow C in Figure 48), and then the process proceeds to step 420I, where an utterance based on the arbitration result is output, and this routine ends.

[0569] (User Response Processing by Non-Mediation Agent) FIG. 48B is a control flowchart showing the flow of response processing to an utterance by the user 60, which is executed by the control device 93 of the agent system 50B.

[0570] In step 450I, it is determined whether or not the speech of the user 60 has been received (whether or not the sound has been collected), and if the determination is negative, the process waits until a positive determination is made.

[0571] If a positive judgment is made in step 450I, the process proceeds to step 452I, where speech recognition is performed on the collected speech, and then the process proceeds to step 454I, where the question "How should I respond to the utterance content?" is input into the sentence generation model 55 (e.g., ChatGPT).

[0572] In the next step 456I, it is determined whether or not a response has been received from the sentence generation model 55, and if the determination is negative, the process waits until a positive determination is made.

[0573] If the determination in step 456I is affirmative, the process proceeds to step 458I, where the response received from the sentence generation model 55 is analyzed to determine what to say to the user 60, and the process proceeds to step 460I. In step 460I, an utterance is made to the user 60. Note that the utterance content may be determined based on information about the user that the smart pendant 92 itself holds, without using the sentence generation model 55.

[0574] In the next step 462I, the non-mediation agent functions to output a response (utterance) to the user 60 to the adjustment agent (see dotted arrow A in FIG. 48).

[0575] In the next step 464I, it is determined whether or not arbitration has occurred. This determination is based on the processing of step 416I in Figure 48(A) (see dotted arrow B in Figure 48). If the determination in step 464I is negative, it is determined that arbitration has not occurred, and this routine ends. If the determination in step 464I is positive, it is determined that arbitration has occurred, and the routine proceeds to step 466I, where the arbitration results are obtained. This acquisition is based on step 418I in Figure 48(A) (see dotted arrow C in Figure 48).

[0576] If a negative determination is made in step 466I, the routine waits until a positive determination is made, and if a positive determination is made, the routine proceeds to step 468I, where an utterance based on the mediation result information is output, and this routine ends. Although a detailed explanation of the utterance based on the mediation result information is omitted here, the content of an utterance to the effect that the user agrees with the mediation result may be prepared in advance, or, as in step 454I, an utterance such as "The mediation result was XX, how should I say this?" may be input to the sentence generation model 55, and the utterance may be made based on the answer of the sentence generation model 55.

[0577] In this embodiment, the response process for the user 60 using two devices (smart glasses 72 and smart pendant 92) is shown, but the user 60 may be provided with three or more types of devices (agent system 50).

[0578] As explained above, in this embodiment, when the user 60 tweets a message seeking an answer, multiple agents collect the voice and, if the voice analysis results in different answers, the agent system mediates before the user 60 makes a final selection. As a result, the user 60 can eliminate any uncertainty about their choice and increase the probability of selecting the most optimal action.

[0579] In this embodiment, arbitration does not mean arbitration of disputes between users, but means determining priority when agents give different advice.

[0580] For example, if the proposal of agent 50A has a higher adoption rate than the proposal of agent 50B, the proposal of agent 50A is adopted preferentially. When arbitrating between agent 50A of smart glasses 72 (with camera 86) and agent 50B of smart pendant 92, the facial expression of user 60 can be acquired from smart glasses 72 to determine which proposal to adopt. In this case, by sharing images from camera 86 not only with smart glasses 72 but also with smart pendant 92, the accuracy of the proposals of each agent 50A, 50B can be improved.

[0581] If the camera image is not shared with the smart pendant, the agent 50A's proposal may be prioritized from the start.

[0582] FIG. 49 shows an example of the execution of the flowchart of FIG. 48, and illustrates a situation in which frames A to F are executed in chronological order.

[0583] (Frame A) The user 60 mutters, "I'm hungry... what should I eat..." The agents 50A and 50B each collect the user 60's mutterings and perform speech recognition (steps 400I and 402I in FIG. 48A, and steps 450I and 452I in FIG. 48B).

[0584] (Frame B) The agent 50A queries the sentence generation model 55 in response to the tweet from the user 60, and replies, "Let's go eat some hamburgers!!" (Steps 404I to 410I in FIG. 48A).

[0585] (Frame C) The agent 50B responds to the tweet from the user 60 by saying, "It's ramen after all!" (Steps 454I to 460I in FIG. 48B).

[0586] In this example, agent 50B answers (piece C) taking into account the answer (piece B) of agent 50A, but the order of the answers may be reversed, and the answers of each agent may not influence the other's. Furthermore, pieces B and C may speak simultaneously or repeat their answers, which in a sense creates a situation in which multiple people are discussing, and adds interest to the process leading up to user 60's decision-making.

[0587] (Frame D) Mediation is performed by agent 50A (step 416I in FIG. 48A).

[0588] In this case, mediation is carried out after one response has been received from agent 50A and one from agent 50B in piece B and piece C, respectively, but if there has been a discussion process, mediation can be started after a predetermined discussion time has elapsed.

[0589] (Frame E) If the answer of agent 50A is adopted as a result of the arbitration, agent 50A will say, "Right now, hamburgers are the best choice!!" (Step 420I in FIG. 48A).

[0590] The party whose request is rejected in the mediation (agent 50B) may make an utterance such as "Well, I guess so..." to accept the mediation result (step 468I in FIG. 48B).

[0591] (Frame F) When the user 60 utters "I've decided on a hamburger!" in accordance with the arbitration result, the agents 50A and 50B collect the speech of the user 60 and perform voice recognition, thereby completing the series of processes.

[0592] 49, the agent 50A determines the answer based on predetermined conditions (such as the employment history of the user 60 when there was a mismatch in the answer in the past), but the current state of the user 60 may be photographed by the camera 86 mounted on the smart glasses 72, and the photographed information may be used for arbitration. Each device may be equipped with a camera function, or in the case of a device that does not have a camera, such as the smart pendant 92, information photographed by another device (here, the camera 86 of the smart glasses 72) may be shared.

[0593] Additionally, together with or instead of the current state, an image of the user's 60 past behavior history up to the current situation may be used (information on yesterday's meal menu, amount of exercise, who was eating out, etc.).

[0594] (Thirteenth embodiment) In the thirteenth embodiment, an order terminal 3400 will be described that uses an agent system 50 (see FIG. 7) that is configured using some or all of the functions of a behavior control system (see FIG. 2). Note that parts that are configured similarly to the above embodiments will be denoted by the same reference numerals and will be described with the explanation omitted or simplified. Below, a case will be described in which the order terminal 3400 is installed at a customer seat in a restaurant. The order terminal 3400 in this embodiment is a terminal that transmits a user's order to an order processing device (not shown) that processes the order.

[0595] (Configuration) Fig. 50 shows an example of the hardware configuration of an order terminal 3400 according to the thirteenth embodiment. The order terminal 3400 is a tablet-type smart device, and is used by a user 60 in the same way as a general smart device. The order terminal 3400 includes a control device 3410, a display 3420, a touch panel 3430, a speaker 34340, a sensor group 3450, a microphone 3460, a camera 3470, and a communication I / F 3480.

[0596] The control device 3410 is a device that controls the entire ordering terminal 3400, and is configured to include, for example, a storage 3411, a CPU 3412, and a memory (not shown).

[0597] 51 shows an example of the configuration of the storage 3411 of the order terminal 3400 according to the thirteenth embodiment. The storage 3411 according to the thirteenth embodiment includes a product information database 3411A and an order program 3411B.

[0598] The product information database 3411A is a database that stores information about menus offered by restaurants. Examples of information about the menu include the name of the menu, an image photo of the menu, a description of the menu, and a price. The menus offered by restaurants are an example of "products."

[0599] The order program 3411B is a program for executing processes including an order process and an emotion determination process, which will be described later. The product information database 3411A and the order program 3411B may be stored in a memory (not shown).

[0600] The CPU 3412 in FIG. 50 is a central processing unit that executes various programs and controls each section.

[0601] The display 3420 is, for example, a liquid crystal display. The display 3420 is provided, for example, on the front portion of the order terminal 3400, and the displayed content can be viewed by the user 60. The touch panel 3430 accepts input from the user 60. The speaker 34340 outputs audio that indicates various information to the user 60.

[0602] The sensor group 3450 detects the state of the user 60. The sensor group 3450 is configured to include a plurality of sensors. For example, the sensor group 3450 includes a 3D depth sensor, a distance sensor, an acceleration sensor, and a temperature sensor, which are not shown. Note that these sensors are merely examples, and it goes without saying that other sensors may be installed to detect the state of the user 60.

[0603] The microphone 3460 acquires voice uttered by the user 60 or environmental sounds around the order terminal 3400. The camera 3470 is capable of capturing images of the area around the order terminal 3400. The camera 3470 is also capable of capturing images of the face of the user 60. The camera 3470 is, for example, a CCD camera. The communication I / F 3480 has a function for communicating between the order terminal 3400 and the outside. The control device 3410, the display 3420, the touch panel 3430, the speaker 34340, the sensor group 3450, the microphone 3460, the camera 3470, and the communication I / F 3480 are connected to a bus 3490.

[0604] (Functions) FIG. 52 schematically illustrates an example of the functional configuration of an order terminal 3400 according to the thirteenth embodiment. In the order terminal 3400 of this embodiment, the CPU 3412 executes the order program 3411B, thereby functioning as a reception unit 3412A, an input unit 3412B, a presentation unit 3412C, and an ordering unit 3412D. The order terminal 3400 can also utilize the functions of an agent system 50 (see FIG. 7 ). Here, utilizing the agent system 50 includes the control device 3410 having the same functions as the agent system 50 and utilizing those functions. It also includes the case where the order terminal 3400 communicates with an external device (e.g., a server) via the communication I / F 3480, thereby utilizing an agent system 50 stored externally to the order terminal 3400.

[0605] The reception unit 3412A has a function of receiving information related to menu selection. Specifically, the reception unit 3412A receives a menu selection by voice from the user 60 via the microphone 3460. The information related to the menu selection includes information related to the menu name, quantity, and serving timing of the menu selected by the user 60. The reception unit 3412A may also receive input from the user 60 via the touch panel 3430. The menu selection is an example of a "product order." The information related to the menu selection is an example of "order information."

[0606] The receiving unit 3412A also has a function of receiving a response from the user 60. Specifically, the receiving unit 3412A receives whether or not the response from the user 60 to the information presented by the presentation unit 3412C, which will be described later, is affirmative. The response from the user 60 is an example of a "user's response."

[0607] The input unit 3412B has a function of inputting information about the menu selection to the sentence generation model 55 (see FIG. 7 ) described later. Specifically, the input unit 3412B inputs information about the menu selection from the user 60, which is received by the receiving unit 3412A, to the sentence generation model 55 of the agent system 50.

[0608] The sentence generation model 55 of the agent system 50 of this embodiment shown in Fig. 7 has a function of generating a menu name corresponding to information related to a menu selection. Specifically, the sentence generation model 55 generates a menu name corresponding to information related to the menu selection of the user 60 input from the input unit 3412B by referring to the product information database 3411A (see Fig. 51). The sentence generation model 55 can also generate information related to the quantity corresponding to the information related to the menu selection of the user 60 input from the input unit 3412B.

[0609] The presentation unit 3412C in Fig. 52 has a function of presenting information for confirming information related to menu selection. Specifically, the presentation unit 3412C displays the lines of the agent determined by the dialogue processing unit 51 (see Fig. 7) of the agent system 50, which will be described later, on the display 420 or outputs them from the speaker 440. Note that the presentation unit 4312C may output the lines of the agent from the speaker 3440 and also display information related to the menu associated with the lines on the display 3420. Information for confirming information related to menu selection is an example of "confirmation information." The dialogue processing unit 51 is an example of a "conversation processing unit."

[0610] The dialogue processing unit 51 of the agent system 50 of this embodiment shown in Figure 7 has a function of determining the agent's lines based on the menu name and emotional value. Specifically, the dialogue processing unit 51 determines the agent's lines to confirm the menu selected by the user 60 based on the menu name generated by the sentence generation model 55 and the emotional values ​​of the user 60 and the agent estimated by the emotional engine 53, which will be described later. Note that the dialogue processing unit 51 may determine the agent's lines based only on the emotional value of the user 60 estimated by the emotional engine 53, or only on the emotional value of the agent. The agent's lines to confirm the menu are an example of "utterance content."

[0611] The emotion engine 53 of the agent system 50 of this embodiment has the function of determining the emotions of the user 60 and the agent conversing with the user 60. Specifically, the emotion engine 53 determines an emotion value indicating the emotion of the user 60 and an emotion value of the agent itself from the state of the user 60 recognized by a user state recognition unit 230 (see FIG. 2) of the behavior control system, which will be described later. The emotion engine 53 is configured to include the emotion determination unit 232 (see FIG. 2) of the behavior control system. The emotion engine 53 is an example of an "emotion determination unit".

[0612] The user state recognition unit 230 (see FIG. 2) of the behavior control system used by the agent system 50 of this embodiment has a function of acquiring the state of the user 60. Specifically, the user state recognition unit 230 acquires the state of the user 60 based on information analyzed by the sensor group 3450, microphone 3460, and camera 3470. The user state recognition unit 230 is an example of an "acquisition unit."

[0613] 52 has a function of ordering a menu item in accordance with the response of the user 60. Specifically, when the response of the user 60 received by the receiving unit 412A in response to the information presented by the presentation unit 3412C is affirmative, the ordering unit 3412D orders the menu item corresponding to the information.

[0614] 53 shows an example of the flow of an order processing according to the thirteenth embodiment. The order processing according to the thirteenth embodiment is processing executed when the order terminal 3400 receives an order from the user 60.

[0615] 53, the CPU 3412 receives information regarding the selection of the menu from the user 60. As an example, the CPU 3412 receives the information "four raw chicken pieces and fried chicken" from the user 60 via the microphone 3460.

[0616] In step S201J, the CPU 3412 inputs the received information to the sentence generation model 55. Specifically, the CPU 3412 inputs to the sentence generation model 55 the information related to the menu selection received in step S200J.

[0617] In step S202J, the CPU 3412 acquires the menu name corresponding to the received information from the sentence generation model 55. Specifically, the CPU 3412 acquires the menu name generated by the sentence generation model 55 based on the information input in step S201J. As an example, the CPU 3412 acquires "medium mug of draft beer" and "bottled beer" as the menu names corresponding to the information "draft", and acquires "fried young chicken" and "fried chicken wings" as the menu names corresponding to the information "fried chicken".

[0618] In step S203J, the CPU 3412 executes emotion determination processing (see FIG. 54), which will be described later. The CPU 3412 determines emotion values ​​of the user 60 and the agent through the emotion determination processing. As an example, the CPU 3412 determines that the emotion value of the user 60 is "fun" and the emotion value of the agent is "delight."

[0619] In step S204J, the CPU 3412 determines the agent's lines based on the acquired menu name and the determined emotion value. Specifically, the CPU 3412 determines the agent's lines based on the menu name acquired in step S202J and the emotion value determined in step S203J. As an example, the CPU 3412 determines the agent's lines as follows: "It looks like you had a great time today! Let me check your order! Is four medium mugs of draft beer and one fried chicken okay? We also have bottled beer for the beer and fried chicken wings for the fried chicken." Note that the CPU 3412 may determine the agent's lines based only on the emotion value of the user 60 or only on the emotion value of the agent.

[0620] In step S205J, the CPU 3412 presents the menu name to the user 60 using the determined dialogue. Specifically, the CPU 3412 presents the agent's dialogue determined in step S204J to the user 60 by outputting it as audio from the speaker 3440. The CPU 3412 may cause the display 3420 to display the presented menu name, an image of the menu corresponding to the menu name, an explanation of the menu, the quantity, etc.

[0621] In step S206J, the CPU 3412 determines whether the user 60 has responded affirmatively to the presented menu name. If the CPU 3412 determines that the user 60 has responded affirmatively (step S206J: YES), the CPU 3412 proceeds to step S208J. On the other hand, if the CPU 3412 determines that the user 60 has not responded affirmatively (step S206J: NO), the CPU 3412 proceeds to step S207J.

[0622] In step S207J, the CPU 3412 inputs to the sentence generation model 55 that the presented menu name was different from the intention of the user 60. Note that instead of step S207J, the CPU 3412 may again receive and input information regarding the menu selection from the user 60 (steps S200J and S201J). Then, the CPU 3412 returns to step S202J.

[0623] In step S208J, the CPU 3412 orders the menu item corresponding to the presented menu item name. Specifically, the CPU 3412 transmits the menu item corresponding to the menu item name acquired in step S202J to an order processing device (not shown). As an example, the CPU 3412 orders "four medium mugs of draft beer" and "one fried chicken." Then, the CPU 3412 ends the ordering process.

[0624] (Emotion Determination Process) Fig. 54 shows an example of the flow of emotion determination process according to embodiment 13. The emotion determination process is executed in step S203J (see Fig. 53).

[0625] 54, the CPU 3412 recognizes the state of the user 60. Specifically, the CPU 3412 recognizes the state of the user 60 based on information analyzed by the sensor group 3450, the microphone 3460, and the camera 3470.

[0626] In step S301K, CPU 3412 determines an emotion value of user 60. Specifically, CPU 3412 determines an emotion value indicating the emotion of user 60 based on the information analyzed by sensor group 3450, microphone 3460, and camera 3470, and the state of user 60 recognized in step S300K.

[0627] In step S302K, CPU 3412 determines the emotion value of the agent. Specifically, CPU 3412 determines the emotion value indicating the emotion of the agent based on the information analyzed by sensor group 3450, microphone 3460, and camera 3470, and the state of user 60 recognized in step S300K. CPU 3412 then ends the emotion determination process.

[0628] (Summary of the Thirteenth Embodiment) The order terminal 3400 of the thirteenth embodiment receives information regarding menu selection from the user 60 via voice, inputs the received information into the sentence generation model 55, presents the menu names output from the sentence generation model 55 to the user 60, and orders the menu in accordance with the user 60's response. Therefore, the order terminal 3400 of the thirteenth embodiment can save the user 60 the trouble of operating the order terminal 3400 to select a menu. Furthermore, the order terminal 3400 of this embodiment can accept an order even if the information regarding the menu selection received from the user 60 is not the official name of the menu. Furthermore, the order terminal 3400 of this embodiment allows the user 60 to order the desired menu more quickly than if the user 60 were to operate the order terminal 3400 to order the desired menu from among a large number of menus.

[0629] The order terminal 3400 of the thirteenth embodiment acquires the state of the user 60, determines the emotional values ​​of the user 60 and the agent based on the acquired state of the user 60, and determines the lines of the agent based on the determined emotional values. The order terminal 3400 then presents the determined lines of the agent to the user 60. Therefore, according to the order terminal 3400 of the thirteenth embodiment, the agent can act in place of a store clerk, and can confirm the order placed by the user 60 using lines that are in line with the emotions of the user 60.

[0630] (Variation 1 of the 13th embodiment) In the 13th embodiment, the ordering process is performed by receiving information regarding the menu selection from the user 60. Variation 1 of the 13th embodiment is characterized in that the ordering process is performed by obtaining information regarding the remaining quantity of the menu item ordered by the user 60. Details specific to Variation 1 will be described below.

[0631] The input unit 3412B of variant example 1 (see FIG. 52 ) has a function of inputting an emotion value to the sentence generation model 55. Specifically, the input unit 4312B inputs the emotion value of the user 60 output from the emotion engine 53 to the sentence generation model 55. The input unit 3412B may input the emotion value of the agent output from the emotion engine 53 to the sentence generation model 55.

[0632] The ...

Claims

1. An agent system comprising: a reception unit that receives a budget for a payment method that can be used to acquire a product; a history acquisition unit that acquires history information that is information relating to a purchase history of products that a user has acquired in the past; a product determination unit that determines a product to be acquired based on the budget received by the reception unit and the history information obtained from the history acquisition unit; and an operation execution unit that executes an operation to acquire the product determined by the product determination unit at a predetermined timing.

2. An agent system as described in claim 1, further comprising: a user state recognition unit capable of acquiring information regarding the user's state; and an emotion determination unit that determines the emotion of the user based on the information regarding the user's state acquired by the user state recognition unit, wherein the history information includes a purchase history that records products acquired by the operation execution unit in association with the user's emotion toward the products as determined by the emotion determination unit.

3. The agent system according to claim 2, wherein the emotion determination unit further determines the emotion of the agent based on the state of the user acquired via the user state recognition unit, and the product determination unit determines the product to be acquired based on the emotion of the agent determined by the emotion determination unit.

4. The agent system according to claim 2, wherein the user state recognition unit further acquires information regarding the surrounding situation of the user, and the product determination unit determines the product to be acquired based on the surrounding situation acquired by the user state recognition unit.

5. The agent system of claim 4, wherein the information regarding the surrounding situation is information regarding inventory for each product inferred from image information representing the user's surrounding situation, and the product determination unit determines the product to be obtained based on the information regarding inventory.

6. The agent system according to claim 5, wherein the action execution unit executes an action to acquire the product when the inventory falls below a predetermined threshold for a predetermined consecutive period of time.

7. The agent system of claim 2, wherein the reception unit further receives at least one setting information among information regarding product categories and information regarding user preferences, and the product determination unit determines the product to be acquired based on the setting information received by the reception unit.

8. A program for causing a computer to operate as the agent system according to any one of claims 1 to 7.

9. An agent system comprising: a reception unit that receives keywords indicating an object desired by a user and concept words indicating the direction of the keywords; a proposal determination unit that determines proposed information to be proposed to the user based on the keywords and concept words received by the reception unit; an identification unit that identifies an object required by the user from the proposed information determined by the proposal determination unit; a user state recognition unit that acquires image information related to the situation around the user; and a position output unit that outputs position information indicating the position of information related to the object when the image information acquired by the user state recognition unit includes information related to the object identified by the identification unit.

10. The agent system of claim 2, further comprising: an emotion determination unit that is capable of acquiring information regarding the user's state; and a history acquisition unit that acquires history information that is information that associates and stores the user's past actions with the user's emotions determined by the emotion determination unit when the user performed the actions; and wherein the proposal determination unit determines the proposal information based on the user's emotions determined by the emotion determination unit and the history information acquired by the history acquisition unit.

11. A program for causing a computer to operate as the agent system according to claim 9 or 10.

12. An agent system comprising: a face information acquisition unit that acquires facial information, which is information on the face of a user's conversation partner; a state recognition unit that can acquire information regarding the state of the conversation partner; an emotion determination unit that determines the emotion of the conversation partner based on the information regarding the state of the conversation partner acquired by the state recognition unit; a published information acquisition unit that acquires published information about the conversation partner from information on the Internet including social media based on the face information and the emotion of the conversation partner; a personal information acquisition unit that acquires personal information identifying the conversation partner from the published information; and an information output unit that outputs at least one of the emotion of the conversation partner, the published information, and the personal information.

13. The agent system according to claim 12, wherein the person information acquisition unit acquires the person information from a database in which face information of a plurality of people and person information identifying each of the plurality of people are stored in association with each other based on the face information acquired by the face information acquisition unit.

14. The agent system according to claim 12, wherein the information output unit outputs a summary generated from a combination of at least two of the emotions of the conversation partner, the public information, and the person information.

15. The agent system according to claim 12, wherein the information output unit outputs conversation information, which is information for conversing with the conversation partner, generated based on at least one of the emotions of the conversation partner, the public information, and the personal information.

16. A program for causing a computer to operate as the agent system according to any one of claims 12 to 15.

17. Smart glasses capable of using the agent system according to any one of claims 12 to 15.

18. An electronic device that can utilize an agent system including an emotion determination unit that determines the emotion of a user or an agent, and a dialogue processing unit that determines the content of the agent's utterance to dialogue with the user based on the emotion determined by the emotion determination unit, comprising: an acquisition unit that can acquire information regarding the user's state; an execution unit that causes the agent system to create a summary of a character string within a specific area that the user is attempting to understand by the acquisition unit acquiring a preset prompt; and an output unit that outputs the summary generated in the agent system to the user as the content of the utterance.

19. The electronic device of claim 18, wherein the electronic device is a wearable terminal worn by the user, the specific area in the user's line of sight is photographed by a camera equipped on the wearable terminal, and the character string in the image of the specific area photographed by the camera is converted into character-recognizable text data and sent to the acquisition unit.

20. An electronic device as claimed in claim 18 or 19, wherein the specific area is a facing area of ​​a book held by the user, and the summary is created and spoken with the facing area as one unit.

21. The electronic device according to claim 20, wherein a summary unit for each of said two-page spreads is generated by determining whether or not the pages of said book are being turned, and output in synchronization with the turning of pages.

22. An electronic device that can utilize an agent system including an emotion determination unit that determines the emotion of a user or an agent, and a dialogue processing unit that determines the content of the agent's utterance to dialogue with the user based on the emotion determined by the emotion determination unit, the electronic device comprising: an acquisition unit that can acquire information regarding the user's state; an execution unit that, when the emotion determination unit analyzes the user's emotion regarding a specific event as negative, causes the agent system to create a sentence that changes the emotion regarding the event to a positive one; and an output unit that outputs the sentence generated in the agent system to the user as the content of the utterance.

23. The electronic device according to claim 22, wherein the determination of the user's emotion is repeated until the user's emotion changes from negative to positive.

24. The electronic device according to claim 22, wherein the electronic device is adapted to determine the emotion of the user based on sensor information that detects the user's range of movement in synchronization with the user's movement.

25. The electronic device of claim 24, wherein the electronic device is a wearable device worn by the user, and the sensor information of the range of movement along the user's line of sight is aggregated based on a sensor mounted on the wearable device.

26. The electronic device according to claim 25, wherein the sensor is a camera mounted on the wearable device, and the sensor information is an image of the user's range of movement captured by the camera.

27. The electronic device according to claim 25, wherein the sensor is a microphone mounted on the wearable device, and the sensor information is environmental sounds within the user's range of movement recorded by the microphone.

28. An electronic device that can utilize an agent system including an emotion determination unit that determines the emotion of a user or an agent, and a dialogue processing unit that determines the content of the agent's utterance to dialogue with the user based on the emotion determined by the emotion determination unit, comprising: an acquisition unit that can acquire information regarding the user's state; a judgment unit that judges whether a specific behavior of a behavior history target has been achieved or not based on the behavior history of the behavior history target; an execution unit that, when the user gives an instruction to judge whether the specific behavior has been achieved or not, causes the agent system to generate a sentence regarding the specific behavior based on the judgment result of the judgment unit regarding the specific behavior; and an output unit that outputs the sentence generated in the agent system to the user as the speech content.

29. The electronic device of claim 28, further comprising a storage unit for storing action history images taken in chronological order in accordance with the action of the action history target, wherein the judgment unit judges whether the specific action has been achieved or not based on the action history images stored in the storage unit.

30. The electronic device according to claim 28, wherein a relationship is established between the user and the behavior history target, in which the user is a manager or protector and the behavior history target is a managed or protected person.

31. The electronic device of claim 28, wherein the relationship between the user and the behavior history target is a relationship between a parent and a child under the parent's protection, and the specific behavior is selected from behaviors previously registered as a to-do list for the child.

32. An electronic device that can utilize an agent system including an emotion determination unit that determines the emotion of a user or an agent, and a dialogue processing unit that determines the content of the agent's utterances to dialogue with the user based on the emotion determined by the emotion determination unit, the electronic device further comprising: an acquisition unit that can acquire information regarding the user's state; and an output unit that can output the content of the utterances generated in the agent system to the user, wherein the emotion determination unit determines the emotion of the user based on the user's state obtained from the acquisition unit.

33. The electronic device according to claim 32, further comprising a control unit capable of acquiring information relating to the situation around the user, and storing the information relating to the situation around the user acquired via the acquisition unit in a surrounding situation storage unit in accordance with the emotion of the user.

34. The electronic device according to claim 32, wherein the output unit outputs the speech content in a voice synthesized according to the character of the agent set in the agent system.

35. The electronic device described in claim 32, wherein the acquisition unit is further capable of acquiring text or voice input by the user, and the speech content is generated using a sentence generation model that generates sentences to respond to the text or voice input via the acquisition unit.

36. The electronic device according to claim 35, wherein the speech content is generated by inputting a history of the dialogue with the user and text or voice input via the acquisition unit into the sentence generation model.

37. The electronic device described in claim 35, wherein the acquisition unit is further capable of acquiring information regarding the user's surroundings, and the speech content is generated by inputting the surroundings acquired via the acquisition unit and text or voice input via the acquisition unit into the sentence generation model.

38. The electronic device of claim 36 or 37, wherein in the agent system, a command for the agent is acquired based on a dialogue with the user acquired via the acquisition unit, and an operation corresponding to the command is executed, and the output unit outputs information regarding the operation corresponding to the command.

39. The electronic device according to claim 38, wherein the operation is executed using personal information of the user acquired from a history of the dialogue with the user acquired via the acquisition unit.

40. The electronic device according to claim 32, wherein the electronic device is a wearable terminal.

41. The electronic device according to claim 32, wherein the agent system of the electronic device is configured to be able to take over data held by an agent system of another electronic device.

42. The electronic device according to claim 41, wherein the other electronic device is owned by the same owner as the electronic device.

43. The electronic device according to claim 42, wherein, when the other electronic devices are a plurality of electronic devices, a determination is made as to which of the plurality of electronic devices the data is to be handed over, according to data held in the agent system.

44. An agent system comprising: an emotion determination unit which determines a user's emotion or an agent's emotion; a dialogue processing unit which determines the content of the agent's utterance to dialogue with the user based on the emotion determined by the emotion determination unit; a generation unit which, when the user's emotion or the agent's emotion regarding a specific event is a sudden change in emotion that exceeds a predetermined degree of change, generates a sentence instructing an action corresponding to the sudden change in emotion in the emotion determination unit; and an execution unit which executes an action corresponding to the sudden change in emotion against the user, between the action before the emotion change and the action after the emotion change, based on the generated sentence.

45. An agent system according to claim 44, wherein the action corresponding to the sudden change in emotion is executed using at least one of the senses of hearing, vision, touch, smell, and taste, or a combination of two or more of these senses.

46. ​​An agent system according to claim 44, wherein said execution unit adjusts the degree of emphasis of the action corresponding to the sudden change in emotion in proportion to the degree of said sudden change in emotion.

47. An agent system according to claim 44, wherein the emotions are classified into joy, anger, sadness and happiness, and the execution unit differs in behavior depending on the emotions before and after a change in emotion.

48. An agent system according to claim 44, wherein said execution unit, when said user feels intimidated or scared, executes an action corresponding to said sudden change in emotion so as to alleviate said intimidation or fear.

49. An agent system according to claim 44, wherein said execution unit, when said user is joyful, executes an action corresponding to said sudden change in emotion, which encourages and heightens said joy.

50. An agent system comprising a plurality of agents, each of which has an acquisition unit for acquiring information regarding a user's state, an emotion determination unit for determining the emotion of the user based on the information regarding the user's state acquired by the acquisition unit, and a dialogue processing unit for determining the content of the agent's utterance to dialogue with the user based on the emotion determined by the emotion determination unit, wherein the agent system has an arbitration unit installed in at least one of the agents for deciding on one of the utterance contents when the utterance contents differ among the plurality of agents when utterance contents are requested in response to the user's emotion.

51. An agent system as described in claim 50, wherein the acquisition unit is capable of acquiring voice information spoken by the user or text information created by the user, and the content of the speech is generated using a sentence generation model that generates sentences to respond to the voice information or text information input via the acquisition unit.

52. An agent system according to claim 50, wherein said arbitration section determines one of a plurality of new utterance contents based on a history of which agent's utterance contents have been determined in the past.

53. The agent system according to claim 50, wherein each of the plurality of agents is mounted on a wearable device that can be worn by the user.

54. An ordering terminal including: a reception unit that receives order information indicating a product order from a user; an input unit that inputs the order information received by the reception unit into a sentence generation model; a presentation unit that presents to the user confirmation information for confirming the order information output from the sentence generation model; and an ordering unit that orders a product in accordance with the user's response to the confirmation information.

55. An ordering terminal as described in claim 54, further comprising: an acquisition unit capable of acquiring information regarding the user's state; an emotion determination unit which determines the emotion of the user based on the information regarding the user's state acquired by the acquisition unit; and a conversation processing unit which determines the content of an utterance of an agent who converses with the user based on the emotion determined by the emotion determination unit, wherein the conversation processing unit determines the content of the utterance based on the confirmation information, and the presentation unit presents the product indicated by the order information to the user based on the content of the utterance determined based on the confirmation information.

56. The ordering terminal according to claim 55, wherein the conversation processing unit determines, as the speech content, a product suggestion for the user based on the emotion of the user determined by the emotion determination unit.

57. The ordering terminal described in claim 55, wherein the acquisition unit acquires consumption information regarding consumption of a product ordered by the user, and the conversation processing unit determines, as the speech content, a product suggestion for the user based on the consumption information acquired by the acquisition unit.

58. The order terminal according to claim 55, wherein the reception unit receives the order information from a plurality of the users at once, and the presentation unit presents to the user the confirmation information that consolidates the order information from the plurality of the users received by the reception unit.

59. An ordering terminal as described in claim 55, wherein the acquisition unit acquires configuration information regarding the configurations of the multiple users, and the conversation processing unit determines, as the speech content, product suggestions for the multiple users based on the configuration information acquired by the acquisition unit.

60. A program for causing a computer to operate as an order terminal according to any one of claims 54 to 59.

61. An electronic device that can utilize an agent system including an emotion determination unit that determines the emotion of a user or an agent, and a dialogue processing unit that determines the content of the agent's utterance to dialogue with the user based on the emotion determined by the emotion determination unit, the electronic device comprising: an acquisition unit that can acquire at least one of information regarding the user's state and voice input including the user's instruction information; and an output unit that can output the content of the utterance generated in the agent system to the user, wherein the emotion determination unit determines the user's emotion based on the user's state obtained from the acquisition unit, and the dialogue processing unit makes settings based on the user's instruction information.

62. The electronic device according to claim 61, wherein the settings made by the dialogue processor based on the instruction information of the user are at least one of settings for photographing and timing of photographing.

63. The electronic device described in claim 61, further comprising a control unit capable of acquiring information relating to the situation around the user, and storing the information relating to the situation around the user acquired via the acquisition unit in a surrounding situation storage unit in accordance with the emotion of the user.

64. The electronic device according to claim 61, wherein said output unit outputs said speech content in a voice synthesized according to the character of said agent set in said agent system.

65. The electronic device described in claim 61, wherein the acquisition unit is further capable of acquiring text by the user, and the speech content is generated using a sentence generation model that generates sentences to respond to the text or voice input via the acquisition unit.

66. The electronic device according to claim 65, wherein the speech content is generated by inputting a history of the dialogue with the user and text or voice input via the acquisition unit into the sentence generation model.

67. The electronic device described in claim 65, wherein the acquisition unit is further capable of acquiring information regarding the user's surroundings, and the speech content is generated by inputting the surroundings acquired via the acquisition unit and text or voice input via the acquisition unit into the sentence generation model.

68. The electronic device of claim 66 or 67, wherein in the agent system, a command for the agent is acquired based on a dialogue with the user acquired via the acquisition unit, and an operation corresponding to the command is executed, and the output unit outputs information regarding the operation corresponding to the command.

69. The electronic device according to claim 68, wherein the operation is executed using personal information of the user acquired from a history of the interaction with the user acquired via the acquisition unit.

70. The electronic device according to claim 61, wherein the electronic device is a wearable terminal.

71. An electronic device that can utilize an agent system including an emotion determination unit that determines the emotion of a user or an agent, and a dialogue processing unit that determines the content of the agent's utterance to dialogue with the user based on the emotion determined by the emotion determination unit, the electronic device comprising: an acquisition unit that can acquire information regarding the user's state; and an output unit that can output the utterance content generated in the agent system to the user, wherein when communication with a computer network becomes impossible, the output unit outputs utterance information to another electronic device that can communicate with the computer network, and the acquisition unit acquires response information corresponding to the utterance information from the other electronic device.

72. The electronic device according to claim 71, wherein the output unit outputs to the user the response information acquired from the other electronic device and response information updated based on a history of the dialogue with the user stored in the electronic device.

73. The electronic device of claim 71, further comprising a control unit capable of acquiring information relating to the user's surroundings, and storing the information relating to the user's surroundings acquired via the acquisition unit in a surroundings situation storage unit in accordance with the user's emotions.

74. The electronic device according to claim 71, wherein said output unit outputs said speech content in a voice synthesized according to the character of said agent set in said agent system.

75. The electronic device described in claim 71, wherein the acquisition unit is further capable of acquiring text or voice input by the user, and the speech content is generated using a sentence generation model that generates sentences to respond to the text or voice input via the acquisition unit.

76. The electronic device according to claim 75, wherein the speech content is generated by inputting a history of the dialogue with the user and text or voice input via the acquisition unit into the sentence generation model.

77. The electronic device described in claim 75, wherein the acquisition unit is further capable of acquiring information regarding the user's surroundings, and the speech content is generated by inputting the surroundings acquired via the acquisition unit and text or voice input via the acquisition unit into the sentence generation model.

78. The electronic device of claim 76 or 77, wherein in the agent system, a command for the agent is acquired based on a dialogue with the user acquired via the acquisition unit, and an operation corresponding to the command is executed, and the output unit outputs information regarding the operation corresponding to the command.

79. The electronic device according to claim 78, wherein the operation is executed using personal information of the user acquired from a history of the interaction with the user acquired via the acquisition unit.

80. The electronic device according to claim 71, wherein the electronic device is a wearable terminal.

81. An electronic device that can utilize an agent system including an emotion determination unit that determines the emotion of a user or an agent, and a dialogue processing unit that determines the content of the agent's utterance to dialogue with the user based on the emotion determined by the emotion determination unit, the electronic device comprising: an acquisition unit that can acquire information regarding the user's state; and an output unit that can output the content of the utterance generated in the agent system to the user, wherein the acquisition unit acquires the state of other users from other agent systems, and the output unit outputs the emotion of the other users determined by the emotion determination unit based on the state of the other users as the content of the utterance of the agent.

82. The electronic device described in claim 81, wherein the acquisition unit acquires an image of the surroundings of the other user from the other agent system, and the output unit outputs the emotion of the other user as the speech content of the agent together with the acquired image.

83. The electronic device of claim 81, wherein the acquisition unit acquires the states of a plurality of other users, and the output unit outputs the most frequently occurring emotion among the emotions of each of the other users determined by the emotion determination unit as the speech content of the agent.

84. The electronic device described in claim 81, wherein the acquisition unit acquires the states of a plurality of other users, and the output unit outputs, as the speech content of the agent, an emotion corresponding to the emotion of the user determined by the emotion determination unit, among the emotions of each of the other users determined by the emotion determination unit.

85. The electronic device according to claim 81, wherein said output unit outputs said speech content in a voice synthesized according to the character of said agent set in said agent system.

86. The electronic device described in claim 81, wherein the acquisition unit is further capable of acquiring text or voice input by the user, and the speech content is generated using a sentence generation model that generates sentences to respond to the text or voice input via the acquisition unit.

87. The electronic device according to claim 86, wherein the speech content is generated by inputting a history of the dialogue with the user and text or voice input via the acquisition unit into the sentence generation model.

88. The electronic device described in claim 86, wherein the acquisition unit is further capable of acquiring information regarding the user's surroundings, and the speech content is generated by inputting the surroundings acquired via the acquisition unit and text or voice input via the acquisition unit into the sentence generation model.

89. The electronic device of claim 87 or 88, wherein in the agent system, a command for the agent is acquired based on a dialogue with the user acquired via the acquisition unit, and an operation corresponding to the command is executed, and the output unit outputs information regarding the operation corresponding to the command.

90. The electronic device according to claim 89, wherein the operation is executed using personal information of the user acquired from a history of the interaction with the user acquired via the acquisition unit.

Citation Information

Patent Citations

  • Control method for object to be controlled using pseudo feeling and pseudo character, autonomous device operated by being adapted to user and method for adapting action of device to feature of user

    JP2000200103A

  • Terminal device and received data display method

    JP2005222252A

  • Determination device, determination method, and determination program

    JP2020177498A

  • Server system and automatic purchase system

    JP2021012422A

  • System for recommending optimal card, apparatus for recommending optimal card and method for the same

    US20170024724A1

Cited By

  • system

    JP2026155486A

  • Information processing system, information processing method, and information processing program

    JP7770078B1