Program, information processing method and computer device
The program and computer device enhance chatbot expressiveness by dynamically generating prompts based on user input and character information, addressing the limitation of preset prompts in existing chatbots.
Patent Information
- Application Number
- JP2024055960
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-03-29
- Publication Date
- 2025-10-10
AI Technical Summary
Existing chatbots using large-scale language models struggle to vary response patterns due to preset prompts, limiting the expressiveness of character in interactions.
A program and computer device that dynamically generate prompts based on user input and preset character information, utilizing a predetermined language model to enhance the expressiveness of responses by determining character information and generating tailored prompts.
Enables dynamic and situation-appropriate responses that are characteristic of the character, improving the variety and appropriateness of chatbot interactions.
Smart Images

Figure 2025153464000001_ABST
Abstract
Description
[Technical Field]
[0001] The present disclosure relates to a program, an information processing method, and a computer device. [Background technology]
[0002] Recent advances in AI technology have led to the emergence of various language models with advanced natural language processing capabilities. In particular, large-scale language models, which have increased the amount of computation, data, calculations, and parameters, have become capable of responding to questions and engaging in dialogue at a level that is less likely to cause discomfort to humans.
[0003] Many chatbots that use language models such as large-scale language models have also appeared. Non-Patent Document 1 discloses that chatbots can be given character by editing the instructions (prompts) sent to them. Specifically, it discloses that by setting the character's profile and behavioral rules in advance, responses can be obtained that are in line with the set content. [Prior art documents] [Non-patent literature]
[0004] [Non-Patent Document 1] "Easy-to-use guide to creating conversational AI: 2. Customize your AI's personality with instructions!" [online] [Retrieved March 25, 2024], Internet<URL:https: / / note.com / tomohoga / n / nfe233a3f7c19> Summary of the Invention [Problem to be solved by the invention]
[0005] According to the technology in Non-Patent Document 1, it is possible to give a chatbot a certain degree of character. However, since the prompts for expressing the character are the same ones that are preset, it is difficult to increase the variety of response patterns, and there is room for improvement in expressing the character.
[0006] An object of at least one embodiment of the present disclosure is to provide a new technique for enhancing the expressiveness of character in responses using a predetermined language model. [Means for solving the problem]
[0007] From a non-limiting perspective, a program according to one embodiment of the present disclosure is a program executed on a computer device, and causes the computer device to realize the following: a reception function for receiving user input from a user; a first determination function for determining character information for a first prompt from character information that is preset as information regarding the personality and guidelines of a specified character based on at least the user input; a first generation function for generating a first prompt based on the user input and the character information for the first prompt; a first acquisition function for using the first prompt to acquire answer data regarding the character's answer to the user input from a specified language model; and a first output function for outputting an answer to the user via the character based on the answer data.
[0008] From a non-limiting perspective, an information processing method according to one embodiment of the present disclosure is an information processing method including causing a computer device to execute the following steps: a receiving step of receiving user input from a user; a first determination step of determining character information for a first prompt from character information that is preset as information regarding a character's personality and guidelines for action based on at least the user input; a first generation step of generating a first prompt based on the user input and the character information for the first prompt; a first acquisition step of acquiring answer data regarding the character's answer to the user input from a predetermined language model using the first prompt; and a first output step of outputting an answer to the user via the character based on the answer data.
[0009] From a non-limiting perspective, a computer device according to one embodiment of the present disclosure is a computer device comprising: a receiving means for receiving user input from a user; a first determination means for determining character information for a first prompt from character information that is preset as information regarding a character's personality and guidelines for action based on at least the user input; a first generation means for generating a first prompt based on the user input and the character information for the first prompt; a first acquisition means for using the first prompt to acquire answer data regarding the character's answer to the user input from a predetermined language model; and a first output means for outputting an answer to the user via the character based on the answer data. [Effects of the Invention]
[0010] Each embodiment of the present application addresses one or more of the deficiencies. [Brief explanation of the drawings]
[0011] [Figure 1] FIG. 1 is a diagram illustrating an example of the configuration of a computer device according to at least one embodiment of the present disclosure. [Figure 2]1 is a flowchart illustrating an example of an information processing method according to at least one of the embodiments of the present disclosure. [Figure 3] FIG. 1 is a diagram illustrating an example of the configuration of a computer device according to at least one embodiment of the present disclosure. [Figure 4] 1 is a flowchart illustrating an example of an information processing method according to at least one of the embodiments of the present disclosure. [Figure 5] 10 is a flowchart illustrating an example of a filler effect-related process corresponding to at least one of the embodiments of the present disclosure. [Figure 6] FIG. 2 is a schematic diagram illustrating an example of an output screen corresponding to at least one of the embodiments of the present disclosure. [Figure 7] 10 is a flowchart illustrating an example of a first output-related process according to at least one of the embodiments of the present disclosure. [Figure 8] FIG. 2 is a schematic diagram illustrating an example of an output screen corresponding to at least one of the embodiments of the present disclosure. [Figure 9] FIG. 1 is a diagram illustrating an example of the configuration of a computer device according to at least one embodiment of the present disclosure. [Figure 10] 1 is a flowchart illustrating an example of an information processing method according to at least one of the embodiments of the present disclosure. [Figure 11] FIG. 1 is a diagram illustrating an example of the configuration of a computer device according to at least one embodiment of the present disclosure. [Figure 12] 1 is a flowchart illustrating an example of an information processing method according to at least one of the embodiments of the present disclosure. DETAILED DESCRIPTION OF THE INVENTION
[0012] Hereinafter, examples of embodiments of the present disclosure will be described with reference to the drawings. Note that the various components in the examples of the embodiments described below can be combined as appropriate to the extent that no inconsistencies or contradictions occur. Furthermore, the content described in one embodiment (e.g., components with the same reference numerals or names as components already described) may be omitted from other embodiments. Furthermore, the content of operations and processes unrelated to the characteristic features of each embodiment may be omitted. Furthermore, the order of the various processes constituting the various flows described below may be random and may be executed in parallel to the extent that no inconsistencies or contradictions occur in the process content. Note that in this specification, the terms "first" and "second" are used merely for distinction and do not indicate the order of processes or the like.
[0013] [First embodiment] First, a first embodiment of the present disclosure will be described. As the first embodiment, a program executed on a computer device will be exemplified below.
[0014] FIG. 1 is a diagram illustrating an example of the configuration of a computer device 1 corresponding to at least one embodiment of the present disclosure. The computer device 1 and a server device 5 can be connected to each other via a network 4, for example, wirelessly or via a wired connection. The wireless communication method is not particularly limited, and any conventionally known technology can be used as appropriate, such as a wireless LAN (Local Area Network) connection such as Wi-Fi, a Bluetooth (registered trademark) connection, or an infrared connection. The wired communication method is not particularly limited, and any conventionally known technology can be used as appropriate, such as a USB (Universal Serial Bus) connection. The communication may be short-range communication or long-range communication via a communication network such as the Internet. The communication network may be a so-called blockchain network.
[0015] The computer device 1 includes at least a storage unit 10 and a control unit 20. The storage unit 10 is configured by a storage device such as a read-only memory (ROM), a hard disk drive (HDD), or a solid state drive (SDD). The storage unit 10 stores various programs and data for operating the computer device 1. The storage unit 10 may include an external storage device accessible by the computer device 1.
[0016] The storage unit 210 can store, for example, a program 11 and character information 12. The program 11 is, for example, a computer program for causing the computer device 1 to realize various functions described below. The character information 12 is, for example, information set in advance as information relating to the personality and guidelines of a specific character.
[0017] The control unit 20 is configured with, for example, a processor and a memory such as a RAM (Random Access Memory). By executing the program 11, the control unit 20 of the computer device 1 functions as, for example, a receiving unit 21, a first determining unit 22, a first generating unit 23, a first acquiring unit 24, and a first output unit 25.
[0018] The reception unit 21 has a function of receiving a user input from a user. The first determination unit 22 has a function of determining character information for a first prompt from character information 12 that is preset as information related to the personality and guidelines of a predetermined character, based on at least the user input.
[0019] The first generating unit 23 has a function of generating a first prompt based on the user input received by the receiving unit 21 and the character information for the first prompt determined by the first determining unit 22. The first acquiring unit 24 has a function of acquiring, from a predetermined language model 51, response data regarding the response of the character to the user input, using the first prompt generated by the first generating unit 23.
[0020] The first output unit 25 has a function of outputting an answer to the user via the character based on the answer data acquired by the first acquisition unit 24.
[0021] The server device 5 includes at least a predetermined language model 51. The server device 5 uses the language model 51 to create various response data in response to various prompts sent from the computer device 1. The created various response data are transmitted to the computer device 1 as appropriate. The server device 5 may be configured by multiple computers.
[0022] The predetermined language model 51 is not particularly limited as long as it can generate answer data for various prompts received from the computer device 1, but is preferably, for example, a large-scale language model. The language model 51 may be provided in the computer device 1.
[0023] Next, a description will be given of an information processing method using the computer device 1 according to the first embodiment. Fig. 2 is a flowchart showing an example of an information processing method corresponding to at least one of the embodiments of the present disclosure.
[0024] In step S1, the computer device 1 accepts a user input from a user. In step S2, the computer device 1 determines character information for a first prompt from character information 12 preset as information relating to the personality and action guidelines of a predetermined character, based on at least the user input accepted in step S1 (first determination).
[0025] In step S3, the computer device 1 generates a first prompt based on the user input received in step S1 and the character information for the first prompt determined in step S2 (first generation).
[0026] In step S4, the computer device 1 uses the first prompt generated in step S3 (for example, sends the first prompt to the server device 5) to acquire answer data regarding the character's answer to the user input from the predetermined language model 51 (first acquisition). In step S5, the computer device 1 outputs an answer to the user via the character based on the answer data acquired in step S4 (first output), and then ends the process.
[0027] As one aspect of the first embodiment, a new technique can be provided for enhancing the expressiveness of a character in a response using a predetermined language model. Specifically, instead of always generating the same prompt using preset character information, information to be used for prompt generation is determined from preset character information based on user input, etc., making it possible to dynamically generate prompts. As a result, for example, while having the advantage of being able to respond to any user input, it is possible to provide a response that is appropriate for the situation and is characteristic of the character.
[0028] In the first embodiment, the term "computer device" is not particularly limited, but examples include a stationary game console, a portable game console, a wearable terminal, a desktop or notebook personal computer, a tablet computer, a portable terminal such as a PDA (Personal Digital Assistant) or a smartphone, or a server computer.
[0029] Furthermore, in the first embodiment, "user input" is not particularly limited, but examples thereof include voice input by the user's speech and text input using a keyboard, controller, etc. In addition to or instead of these, input may be made by user actions such as gestures and facial expressions. Note that if the "computer device" is a server-type computer, the user input is temporarily accepted by a terminal or the like held by the user and transmitted to the "computer device," whereby the user input is accepted by the "computer device."
[0030] Furthermore, in the first embodiment, the "predetermined character" is not particularly limited, but may be, for example, a fictional character or a character based on a real person, animal, plant, etc.
[0031] In the first embodiment, "character information" includes information about the character's personality and guidelines. The "character information" preferably includes at least one, and preferably multiple, of the character's personality, profile, hobbies, preferences, speaking style, current goal, potential topics, prohibited topics, what to do next, memories of experiences, knowledge, guidelines, and conditions for changing the guidelines.
[0032] In the first embodiment, the "first prompt" is a prompt for causing the language model to generate a response to a user input. The "first prompt" is dynamically generated, for example, in response to receiving a user input. The "first prompt" may include, for example, the content of the user input as well as a portion of the "character information" selected based on the content of the user input.
[0033] Furthermore, in the first embodiment, "outputting an answer to the user via a character" is not particularly limited, but may mean, for example, displaying text in a chat format together with an image such as an icon representing the character, and / or outputting the answer as the voice of the character using voice synthesis, etc. Additionally, a motion image of the character may be output together with these outputs.
[0034] [Second embodiment] Next, a second embodiment will be described below, in which a program executed by a computer device will be exemplified as the second embodiment.
[0035] 3 is a diagram illustrating an example of the configuration of a computer device 101 corresponding to at least one of the embodiments of the present disclosure. The computer device 101 and a server device 105 can be connected for communication via a network 4, for example, wirelessly or via a wired connection.
[0036] The computer device 101 includes at least a storage unit 110 and a control unit 120. The storage unit 110 can store, for example, a program 111, character information 112, history information 113, user information 114, filler effect information 115, audio information 116, and model information 117.
[0037] The program 111 is, for example, a computer program for causing the computer device 101 to realize various functions described below.
[0038] Character information 112 is, for example, information set in advance as information relating to the individuality and guidelines of a predetermined character. The "character information" includes, for example, at least one of each of the character's personality, profile, hobbies, preferences, speaking style, current goal, topic candidates, prohibited topics, what to do next, memories of experiences (such as an action timetable listing what the character was doing before starting a conversation), knowledge, the character's guidelines of action, and conditions for changing the guidelines of action, and preferably multiple of each of these are set.
[0039] The history information 113 includes, for example, information about the history of a conversation between a user and a character. Specifically, the history information 113 may include the content of a predetermined amount of the most recent conversation, a summary of the conversation so far, and information input by the user that has been preset or determined as important (for example, the user's name or hobbies, the user's feelings determined from the user's input, etc.). The history information 113 may also include the progress of the conversation between the user and the character.
[0040] The user information 114 is, for example, information about a user, other than the content of a conversation between a user and a character. Here, the program according to this embodiment can be applied to, for example, chatbots used in various services, corporate activities, etc., or NPCs (Non-Player Characters) placed in game spaces or other virtual spaces. When applied to these, the user information 114 may be, for example, usage history of various services or information about users registered therein, information about a user character operated by a user in a game space or other virtual space, or information about the progress of a game, etc.
[0041] Filler effect information 115 is information related to filler effects output by a character. The filler effect information 115 may include, for example, information related to the output of text information, motion information, etc. output via a character in a filler effect, and information related to the decision conditions for determining which filler effect to select from a plurality of filler effect candidates.
[0042] The voice information 116 includes, for example, information related to the voice uttered by the character. For example, text information included in the filler effect information 115 and answer data generated by the language model 151 are output as the voice of the character by performing voice synthesis or the like with reference to the voice information 116.
[0043] The model information 117 includes, for example, information about the modeling and motion of a character. The model information 117 may also include, for example, information for generating a user character, a game space or other virtual spaces, virtual objects to be placed in these spaces, and the like.
[0044] By executing the program 111, the control unit 120 of the computer device 101 functions, for example, as a reception unit 121, a first determination unit 122, a first generation unit 123, a first acquisition unit 124, a conversion unit 125, a first output unit 126, a second determination unit 127, a second generation unit 128, a second acquisition unit 129, and a second output unit 130.
[0045] The reception unit 121 has a function of receiving user input from a user. The user input may be, for example, a text input or a voice input. If the user input is a voice input, it may be converted into text using, for example, a voice recognition technology. The reception unit 121 may also receive an image of the user as the user input.
[0046] The first determination unit 122 has a function of determining character information for a first prompt from character information 112 that is preset as information relating to the personality and action guidelines of a predetermined character, based at least on the above-mentioned user input.
[0047] In addition, when the user input includes a topic related to the hobbies and / or preferences of the character set in the character information 112, the first determination unit 122 can include instructions in the character information for the first prompt to generate another topic related to the hobbies and / or preferences.
[0048] Furthermore, when the user input includes a topic that corresponds to a prohibited topic (a topic that is set as being prohibited for the character to talk about) set in the character information 112, the first determination unit 122 can include, in the character information for the first prompt, an instruction to generate a topic different from the prohibited topic. Note that the method for determining whether the user input includes hobbies, preferences, prohibited topics, or topics related to these is not particularly limited, and various natural language processing methods such as Word2vec can be used, for example.
[0049] Furthermore, the first determination unit 122 can further determine first prompt character information from the character information 112 based on the predetermined guideline of action of the character and the condition for changing the guideline of action.
[0050] The first generating unit 123 has a function of generating a first prompt based on the user input received by the receiving unit 121 and the first prompt character information determined by the first determining unit 122.
[0051] Furthermore, first generation unit 123 may generate the first prompt based on a history of user inputs and character responses. Specifically, information stored in history information 113, such as the content of a predetermined amount of recent conversation between the user and the character, a summary of the conversation up to that point, etc., may be extracted and used to generate the first prompt.
[0052] Furthermore, the first generation unit 123 can generate a first prompt including content instructing the language model 151 to indicate a point where a character should express a predetermined emotion in the text of the answer data generated by the language model 151. Furthermore, when a point where an emotion should be expressed is present, the first generation unit 123 can generate a first prompt including content instructing the language model 151 to indicate the beginning of the sentence in which the point is present, in addition to the point. Note that the predetermined emotion may be, for example, joy, anger, sadness, or happiness, but is not limited to these, and may be set appropriately by the program administrator depending on the application mode of the program according to this embodiment.
[0053] First acquisition unit 124 has a function of acquiring answer data regarding a character's answer to a user input from language model 151, using the first prompt generated by first generation unit 123. First acquisition unit 124, for example, transmits the first prompt to server device 105 and receives the answer data generated by language model 151 from server device 105.
[0054] The conversion unit 125 has a function of converting text included in the response data acquired by the first acquisition unit 124 into a phrase appropriate for the character. The conversion unit 125 may perform the above conversion using, for example, a trained model in which the character's tone of voice is learned by machine learning. Note that, without providing the conversion unit 125, the character's tone of voice may be expressed by setting information related to the character's tone of voice in the character information 112 and including an instruction related to the tone of voice in the first prompt.
[0055] The first output unit 126 has a function of outputting an answer to the user via a character based on the answer data acquired by the first acquisition unit 124. The first output unit 126 outputs an answer based on, for example, text converted by the conversion unit 125.
[0056] It is also preferable that the output by the first output unit 126 includes the voice and / or motion image of the character. In this case, it is preferable that the first output unit 126 adds tag information to the text data, which tag information indicates the tone of voice, intonation, pauses, etc. when outputting the text aloud, and the character's actions and facial expressions, etc. when outputting the motion image, based on conditions preset by the program administrator, for example, and performs output in accordance with the tag information.
[0057] Furthermore, when the user input includes a topic related to the character's hobbies and / or preferences, the first output unit 126 preferably outputs a voice and / or the motion image differently from when the topic is not included. Specifically, when the user input includes a topic related to a favorite hobby or preference, the first output unit 126 preferably outputs a voice and / or facial expression that sounds happier than usual. When the user input includes a topic related to a disliked hobby or preference, the first output unit 126 preferably outputs a voice and facial expression that sounds displeased.
[0058] Furthermore, when the answer data indicates the above-mentioned emotional expression point, the first output unit 126 preferably outputs the answer while having the character express the emotional expression by voice and / or motion images at least at the emotional expression point. Furthermore, when the answer data indicates the beginning of a sentence in which an emotional expression point exists, the first output unit 126 preferably outputs the answer while having the character express the emotional expression by voice and / or motion images at least from the beginning of the sentence to the emotional expression point. Specifically, it is preferable to control the change of the emotion gradually from the beginning of the sentence.
[0059] Furthermore, when an expression point is indicated in the response data, it is preferable that the first output unit 126 terminates the expression related to the expression of emotion in response to a predetermined termination condition being satisfied after the emotion is expressed at the expression point. The predetermined termination condition may be set appropriately by the program administrator depending on the application mode of the program according to this embodiment, and may be, for example, the passage of a predetermined time, the appearance of the next expression point, etc.
[0060] The second determination unit 127 has a function of determining a filler effect based on the user input received by the reception unit 121. Preferably, the second determination unit 127 analyzes the content of the user input and determines the filler effect based on the analysis result by referring to the filler effect information 115. This analysis may include, for example, an analysis of whether the user input includes a question or not, or an analysis of the user's emotions based on the text, voice, or facial expression entered by the user. Furthermore, the second determination unit 127 may determine the filler effect based on determination data acquired by the second acquisition unit 129 (described later) in addition to or instead of the above analysis.
[0061] The second generating unit 128 has a function of generating a second prompt including an instruction sentence for instructing to judge the content input by the user. There are no particular limitations on what kind of judgment is instructed, but examples include whether the user input is positive or negative, or whether the user input is different from the immediately preceding topic.
[0062] Second acquisition unit 129 has a function of using the second prompt to acquire determination data regarding the result of the above determination from language model 151. Second acquisition unit 129, for example, transmits the second prompt to server device 105 and receives answer data generated by language model 151 from server device 105.
[0063] The second output unit 130 has a function of outputting, via a character, a filler effect determined by the second determination unit 127 during the period from when the receiving unit 121 receives a user input until when the first output unit 126 outputs an answer. The output by the second output unit 130 preferably includes the voice and / or motion image of the character.
[0064] Server device 105 includes at least a predetermined language model 151. Server device 105 uses language model 151 to create various types of response data in response to various prompts sent from computer device 101. There are no particular limitations on language model 151 as long as it is capable of creating response data in response to various prompts received from computer device 101, but it is preferable that the language model be, for example, a large-scale language model.
[0065] Next, an information processing method using the computer device 101 according to the second embodiment will be described. Fig. 4 is a flowchart showing an example of the information processing method corresponding to at least one of the embodiments of the present disclosure.
[0066] In step S10, the computer device 101 accepts user input from the user. In step S20, the computer device 101 executes filler effect-related processing. In step S30, the computer device 101 executes first output-related processing. The processes from step S10 to step S30 are repeated until a conversation end condition is met, such as the user performing an end operation.
[0067] 4 shows an overview of the information processing method in this embodiment. In the first output-related process in step S30, it takes several seconds for the language model 151 to generate answer data, so the user experiences a certain amount of waiting time before the computer device 101 outputs an answer to the user input. Therefore, in this embodiment, filler effect-related process in step S20 is performed during that time, thereby reducing the impression that a waiting time is occurring. The filler effect-related process and the first output-related process are started in response to the acceptance of a user input in step S10, and some of the processes may be executed in parallel.
[0068] The filler effect-related processing in step S20 will now be described in detail with reference to Figures 5 and 6. Figure 5 is a flowchart showing an example of the filler effect-related processing corresponding to at least one of the embodiments of the present disclosure.
[0069] In step S21, the computer device 101 generates a second prompt and transmits it to the server device 105. The second prompt includes, for example, an instruction to determine whether the content of the user input is positive or negative, or whether the content of the user input is different from the immediately preceding topic. The instruction in the second prompt may be an instruction to perform the above-mentioned binary classification, or may be an instruction to perform a multi-value classification. The instruction may also be an instruction to output the proportions of various parameters (e.g., joy, anger, sadness, happiness, etc.) in the content of the user input, or to extract keywords from the content of the user input. The extracted keywords can be used when repeating what is said (for example, repeating the extracted keywords, or not repeating certain keywords).
[0070] In step S22, server device 105 creates answer data to the second prompt using language model 151. Specifically, language model 151 performs the above-described binary classification on the content of the user input and transmits the determination result to computer device 101. In step S23, computer device 101 obtains an answer to the second prompt from server device 105.
[0071] In step S24, the computer device 101 analyzes the content of the user input. The process of step S24 is preferably executed in parallel with the processes of steps S21 to S23. Alternatively, the computer device 101 may be configured to execute only one of the processes of step S24 and steps S21 to S23.
[0072] In step S24, for example, an analysis may be performed to determine whether the user input includes a question, or to analyze the user's emotions based on the text, voice, or facial expression entered by the user. These analyses may be performed using, for example, conventionally known text analysis or voice analysis techniques, or trained models that have undergone machine learning to enable these analyses.
[0073] In step S25, the computer device 101 determines a filler effect based on the answer data acquired in step S23 and the analysis results in step S25. The filler effect information 115 stores, for example, information about multiple types of filler effects and selection conditions for selecting each effect. The computer device 101 determines which selection conditions the results of the above judgment and analysis satisfy, and then determines the filler effect.
[0074] For example, selectable filler effects are limited depending on whether the user input is positive or negative, and also depending on whether the content of the user input differs from the immediately preceding topic. Similarly, selectable filler effects may be limited depending on whether the user input includes a question or the type and intensity of the user's emotion obtained as an analysis result. If there are multiple effects that ultimately become selectable, they may be selected randomly. Furthermore, priorities may be assigned to the results of the judgment and analysis, and the filler effect may be determined based on the result with the highest priority.
[0075] In step S26, the computer device 101 outputs the filler effect determined in step S25 via the character. Specifically, the filler effect is output by displaying text on the display screen, outputting voice generated for the character, and motion images representing the character's movements. The output of step S26 is executed after accepting the user input in step S10 and before the first output in step S41, which will be described later.
[0076] 6 is a schematic diagram showing an example of an output screen corresponding to at least one of the embodiments of the present disclosure. Specifically, FIG. 6 is an example of an output screen in step S26.
[0077] 6(a), a character image 162, a user icon 163, a character icon 164, and areas 165a and 165b are displayed on an output screen 161. Area 165a is displayed in association with the user icon 163, and displays the user's utterance (user input content) in text. Area 165b is displayed in association with the character icon 164, and displays the character's utterance (output content in step S26) in text.
[0078] 6(a), the content of the user input contains a question, as shown in area 165a. If such an analysis result is obtained in step S24, a filler effect may be selected in which at least a part of the user input is output as text and / or voice via a character, as shown in area 165b. In addition, the character's tone of voice, facial expression, movements, etc. may be changed to suggest that the character is thinking about an answer.
[0079] Note that the filler effect shown in Fig. 6(a) in which at least a part of the user input is output as text and / or voice, or simply, an effect that parrots a part of the user input, may be selected not only in the case shown in Fig. 6(a) but also in other cases. For example, it may be selected in the case shown in Fig. 6(b) described next, or may be an effect that can always be selected randomly regardless of the above-mentioned determination results and analysis results.
[0080] In (b) of FIG. 6, the content of the user input differs from that in (a) of FIG. 6. In the case of (b) of FIG. 6, the language model 151 determines that the content of the user input displayed as text in the area 165b is positive. In this case, for example, one piece of text is randomly selected from texts set to be selected in positive cases, and text output and voice output are performed based on that text. In addition, the character's tone of voice, facial expression, movements, etc. may also be designed to give a positive impression. Regarding facial expression, for example, a smiling face may be selected as in the character image 162 in (b) of FIG. 6.
[0081] Next, the first output-related processing in step S30 will be described in detail with reference to Figures 7 and 8. Figure 7 is a flowchart showing an example of the first output-related processing corresponding to at least one of the embodiments of the present disclosure.
[0082] In step S31, the computer device 101 determines character information for the first prompt based on at least the content of the user input. Specifically, based on the content of the user input, the computer device 101 selects character information for the first prompt from the character information 112. For some items included in the character information 112, some or all of them may be randomly selected and always included in the character information for the first prompt.
[0083] In step S31, the first prompt character information may be selected based on the information stored in the history information 113, the information stored in the user information 114, and the like, in addition to the content of the user input.
[0084] In step S32, the computer device 101 determines whether the topic input by the user is related to the character's hobbies or preferences. If it is determined to be a related topic (Yes in step S32), in step S33, the computer device 101 includes information related to the hobbies or preferences from the character information 112 in the character information for the first prompt. If it is determined not to be a related topic (No in step S32), the computer device 101 proceeds to, for example, step S34. Note that, with regard to the information related to the hobbies or preferences, some or all of the information selected randomly may always be included in the character information for the first prompt.
[0085] In step S34, the computer device 101 determines whether the topic input by the user includes a prohibited topic for the character. If it is determined that the prohibited topic is included (Yes in step S34), in step S35, the computer device 101 includes information related to the prohibited topic from the character information 112 in the character information for the first prompt. If it is determined that the prohibited topic is not a related topic (No in step S34), the computer device 101 proceeds to, for example, step S36. Note that, with regard to the information related to the prohibited topic, some or all of the information selected randomly may always be included in the character information for the first prompt. Furthermore, the order in which the processes of steps S31 to S35 are executed is not limited to the order described above.
[0086] In step S36, the computer device 101 generates a first prompt based on the content of the user input in step S10 and the character information for the first prompt determined in steps S31 to S35. The first prompt may further include information stored in the history information 113, information stored in the user information 114, etc. Table 1 below shows a specific example of the configuration of the first prompt. Note that each item in Table 1 below may include multiple contents as long as there is no unattended content.
[0087] [Table 1]
[0088] "What to do next" in Table 1 can be changed, for example, according to the content of the user input or a guideline of action selected in accordance with the change conditions for the guideline of action stored in character information 112. Furthermore, with regard to "information related to the previous topic" in Table 1, for example, if the most recent user input is about noodles and knowledge or experience about noodles is stored in character information 112, this will be included in the first prompt, and as a result, the answer generated by language model 151 may include content that talks about that knowledge or experience.
[0089] Furthermore, by including a summary of the conversation up to that point in the first prompt, such as "Summary of the most recent topic" in Table 1, it becomes possible to include the content of the past conversation in the answer generated by the language model 151. For example, when a user asks, "What were we talking about just now?", it is possible to generate an answer that reflects a look back at past memories.
[0090] Returning to the description of Fig. 7, the first prompt generated in step S36 is transmitted to server device 105. In step S37, server device 105 generates answer data to the first prompt using language model 151. Server device 105 transmits the answer data to the first prompt to computer device 101.
[0091] In step S38, computer device 101 acquires answer data for the first prompt from server device 105. Note that, in order to facilitate processing related to tone conversion, addition of performance tags, and output via a character, which will be described later, it is preferable to acquire the answer data in a format (such as JSON format) that can be directly used by program 111. The format to be used is determined depending on program 111. Also, obtaining answer data in such a format can be made possible, for example, by including content instructing that effect in the first prompt.
[0092] In step S39, the computer device 101 converts the text indicated by the answer data acquired in step S38 into a phrase (tone of voice) that suits the character.
[0093] In step S40, the computer device 101 adds various effect tags to the text data converted in step S39. Table 2 below shows a specific example of the processing from step S37 to step S40.
[0094] [Table 2]
[0095] In the above Table 2, in step S40, performance tags are added in a format that can be directly used by program 111. In addition to those shown in the above Table 2, it is also preferable to add performance tags that instruct the tone of voice, intonation, pauses, etc. when outputting text aloud, and the movements and expressions of characters when outputting motion images.
[0096] Returning to the explanation of Fig. 7, in step S41, the computer device 101 performs output (first output) via the character based on the data to which the performance tag was added in step S40. Specifically, the output is based on the answer generated by the language model 151, using text display on the display screen, voice output generated as the character's voice, and motion images representing the character's movements.
[0097] In step S42, the computer device 101 updates information contained in the character information 112, history information 113, user information 114, etc. as necessary based on the results of the series of processes performed up to this point. This updating may be performed appropriately when data to be updated is generated.
[0098] 8 is a schematic diagram showing an example of an output screen corresponding to at least one of the embodiments of the present disclosure. Specifically, FIG. 8 is an example of an output screen in step S41.
[0099] FIG. 8A shows an example in which the character information 112 specifies watching F1 and baseball as the character's hobbies. In FIG. 8A, as shown in area 166a, the user input includes the topic "I went to see cars." In this case, for example, in step S32, it is determined that a topic related to the hobby is included, and information related to the hobby is included in the first prompt. As a result, the character's response shown in area 166b includes a topic related to F1. Also, in area 166d, the topic of baseball is raised, for example, as a result of determining that the topics "I went to see cars" and "F1" are related to the topic "watching baseball."
[0100] Note that "A car..." in area 166b and "Oh, I see" in area 166d are texts output as a result of filler effect-related processing. Also, because the conversation is about a topic the character likes, the character's tone of voice, facial expression, movements, etc. can be designed to give the impression of fun. Regarding facial expressions, for example, a smiling face can be selected as in character image 162 in FIG. 8(a).
[0101] FIG. 8B shows an example in which, in the character information 112, weapon crafting is set as a prohibited topic and medicinal herb making is set as the character's favorite hobby. In FIG. 8B, as shown in area 166e, the user input includes the topic "how to craft weapons." In this case, for example, in step S34, it is determined that a topic related to the prohibited topic is included, and information about this prohibited topic is included in the first prompt. As a result, the character's response shown in area 166f rejects the topic of weapon crafting. Furthermore, for example, because "how to craft weapons" and "how to craft medicinal herbs" are related, "how to craft medicinal herbs" is presented as a topic in area 166f. The "Um, well..." in area 166f is text output as a result of the filler effect-related processing.
[0102] As one aspect of the second embodiment, a new technique can be provided for enhancing the expressiveness of a character in a response using a predetermined language model. Specifically, instead of always generating the same prompt using preset character information, information to be used for prompt generation is determined from preset character information based on user input, etc., making it possible to dynamically generate prompts. As a result, for example, while having the advantage of being able to respond to any user input, it is possible to provide a response that is appropriate for the situation and is characteristic of the character.
[0103] As one aspect of the second embodiment, the first output may include a voice and / or a motion image of the character, thereby enhancing the expressiveness of the character and improving the user experience, for example.
[0104] As one aspect of the second embodiment, the character information may include information about the hobbies and / or preferences of the character, thereby enhancing the expressiveness of the character, for example.
[0105] As one aspect of the second embodiment, when a user input includes a topic related to the character's hobbies and / or preferences, the character information for the first prompt may include instructions for generating another topic related to the hobbies and / or preferences, thereby enhancing the character's expressiveness. Specifically, humans sometimes shift the topic from the topic at hand to something associated with the current topic, and this makes it possible to reproduce such human behavior with a character. In addition, in this case, the character's voice and / or motion image may be different from when the topic is not included, further enhancing the character's expressiveness.
[0106] As one aspect of the second embodiment, the character information includes information regarding prohibited topics that the character is prohibited from talking about, and if the user input includes a topic that falls under the prohibited topic, the character information for the first prompt can include instructions for generating a different topic that is different from the prohibited topic, thereby, for example, preventing the character from having a conversation that is inconsistent with its character, and reducing the risk of damaging the character's image, etc.
[0107] As one aspect of the second embodiment, by generating a first prompt based on a history of user input and responses, it becomes possible for the character to reproduce human behavior, such as responding based on recognition of what has already been said or reflecting on past topics.
[0108] As one aspect of the second embodiment, by determining character information for the first prompt from character information based on pre-set conditions for changing the course of action, it is possible, for example, to make the character's answers and behavioral changes closer to those of a human, or to give the changes a story-like quality.
[0109] As one aspect of the second embodiment, by converting text included in response data generated by a language model into wording appropriate for the character and then outputting it, it is possible to enhance the expressiveness of the character, for example.
[0110] In one aspect of the second embodiment, a first prompt is generated that includes an instruction to indicate a point in the text of the answer data where a character should express a predetermined emotion, and an answer is output while the character expresses the emotion at least at that point through audio and / or motion images, thereby making it easy to achieve, for example, a rich and natural emotional expression by the character. Furthermore, by generating a first prompt that includes an instruction to indicate not only that point but also the beginning of the sentence in which that point exists, it is possible to, for example, gradually change the emotion from the beginning of the sentence to that point, thereby reducing the risk of the user feeling uncomfortable due to an abrupt change in emotion at that point.
[0111] As one aspect of the second embodiment, by terminating the expression related to the expression of emotion when a predetermined termination condition is met after the emotion is expressed at the expression point, it is possible to reduce the risk of the user feeling uncomfortable due to a sudden change in emotion, for example by naturally attenuating the strength of the emotion.
[0112] As one aspect of the second embodiment, by determining a filler effect based on a user input and outputting the filler effect via a character between the reception of the user input and the output of a response to that input, a new technique can be provided for enhancing the expressiveness of a character, for example, in responses using a predetermined language model. Specifically, it becomes easy to realize natural expressions that make the character appear as if they are actually thinking of a response in response to the user input. This also reduces the impression that the user may have of a long wait time until the response is output.
[0113] As one aspect of the second embodiment, by analyzing whether a user input includes a question or not and determining the filler presentation based on the analysis results, it becomes possible to output, for example, a more natural filler presentation.
[0114] As one aspect of the second embodiment, by determining the filler effect based on the results of analyzing the user's emotions based on the text or voice input by the user, it becomes easier to select a filler effect that is appropriate for the atmosphere of the situation, for example.
[0115] In one aspect of the second embodiment, a second prompt including an instruction sentence for determining the content input by the user is generated, determination data on the result of the determination is acquired from a language model, and filler effects are determined based on the determination data, thereby making it easy to select filler effects that suit the atmosphere of the situation. Also, by having the language model perform the determination, the processing load on a computer device that outputs to the user can be reduced.
[0116] As one aspect of the second embodiment, the above determination includes determining whether the user input is positive or negative, and / or determining whether the user input is different from the previous topic, which makes it easier to select a filler effect that is appropriate for the atmosphere of the situation, for example.
[0117] As one aspect of the second embodiment, by performing a filler effect in which at least a portion of a user input is output as text and / or audio via a character, it becomes possible to reproduce human behavior such as, for example, repeating what is being said in a conversation by a character.
[0118] In the second embodiment, the terms "computer device," "user input," "predetermined character," "character information," "first prompt," and "outputting an answer to the user via a character" can each adopt the contents described in the first embodiment to the extent necessary.
[0119] Furthermore, in the second embodiment, the "conditions for changing a guideline of action" define the conditions under which a character's guideline of action changes. The "conditions for changing a guideline of action" may be set appropriately by a program administrator according to the application mode of the program according to this embodiment, the personality of the character, and the like. Examples of the "conditions for changing a guideline of action" include: fulfilling a predetermined condition, such as a specific topic coming up in a conversation between a user and a character; the conversation lasting longer than a predetermined time; a predetermined emotion obtained by analyzing the user's emotion or an emotion set for a character reaching a certain intensity or higher; or the user's game progress exceeding a predetermined level, and other conditions that information stored as user information fulfills a predetermined condition.
[0120] In the second embodiment, the "second prompt" refers to a prompt that causes the language model to determine the content input by the user based on a predetermined criterion, such as binary classification or multi-value classification.
[0121] In addition, in the second embodiment, a "filler effect" is an effect that is used, for example, to fill the time it takes for a language model to generate answer data between the time a user input is received and the time an answer to that input is output.
[0122] [Third embodiment] Next, a third embodiment will be described with reference to Figures 9 and 10. In the following, a program executed by a computer device will be exemplified as the third embodiment.
[0123] 9 is a diagram illustrating an example of the configuration of a computer device 201 corresponding to at least one of the embodiments of the present disclosure. The computer device 201 and a server device 205 can be connected for communication via a network 4, for example, wirelessly or via a wired connection.
[0124] The computer device 201 includes at least a storage unit 210 and a control unit 220. The storage unit 210 can store, for example, a program 211 and character information 212. When the program 211 is executed, the control unit 220 of the computer device 201 functions as, for example, a reception unit 221, a first generation unit 222, a first acquisition unit 223, and a first output unit 224.
[0125] The reception unit 221 has a function of receiving user input from the user.
[0126] First generating unit 222 has a function of generating a first prompt based on at least the user input received by receiving unit 221. Furthermore, first generating unit 222 can generate a first prompt including an instruction sentence that instructs a character to indicate a point at which the character should express a predetermined emotion in the text of answer data, which will be described later.
[0127] The first acquisition unit 223 has a function of acquiring, from a predetermined language model 251, response data relating to the character's response to the user input, using the first prompt generated by the first generation unit 222.
[0128] The first output unit 224 has a function of outputting an answer to the user via the character based on the answer data acquired by the first acquisition unit 223. The output includes outputting a voice and / or a motion image of the character. Furthermore, if the expression point is indicated in the answer data acquired by the first acquisition unit 223, the first output unit 224 can output an answer while having the character express an emotional expression by a voice and / or a motion image at least at the expression point.
[0129] The server device 205 includes at least a predetermined language model 251. The server device 205 uses the language model 251 to create various types of response data in response to various prompts sent from the computer device 201. The language model 251 is not particularly limited as long as it can create response data in response to various prompts received from the computer device 201, but it is preferable that the language model 251 be, for example, a large-scale language model.
[0130] Next, an information processing method using the computer device 201 according to the third embodiment will be described. Fig. 10 is a flowchart showing an example of the information processing method corresponding to at least one of the embodiments of the present disclosure.
[0131] In step S51, the computer device 201 accepts a user input from the user.
[0132] In step S52, computer device 201 generates a first prompt (first generation) based on at least the user input received in step S51. In step S52, for example, it is possible to generate a first prompt including an instruction sentence instructing language model 251 to indicate a point in the text of the answer data where the character should express a predetermined emotion.
[0133] In step S53, the computer device 201 uses the first prompt generated in step S52 to acquire response data regarding the character's response to the user input from the language model 251 (first acquisition).
[0134] In step S54, the computer device 201 outputs an answer to the user via the character based on the answer data acquired in step S53 (first output), and ends the process. Here, if the answer data acquired in S53 indicates the above-mentioned expression point, in step S54, the answer is output while the character expresses the expression of emotion by voice and / or motion image at least at the above-mentioned expression point.
[0135] As one aspect of the third embodiment, a new method for enhancing the expressiveness of characters in responses using a predetermined language model can be provided. Specifically, it becomes easier to realize rich and natural emotional expression by characters.
[0136] In the third embodiment, the terms "computer device," "user input," "predetermined character," "character information," "first prompt," and "outputting an answer to the user via a character" may each adopt the contents described in the first or second embodiment to the extent necessary.
[0137] [Fourth embodiment] Next, a fourth embodiment will be described with reference to Figures 11 and 12. In the following, a program executed by a computer device will be exemplified as the fourth embodiment.
[0138] 11 is a diagram illustrating an example of the configuration of a computer device 301 corresponding to at least one of the embodiments of the present disclosure. The computer device 301 and a server device 305 can be connected to each other for communication via a network 4, for example, wirelessly or via a wired connection.
[0139] The computer device 301 includes at least a storage unit 310 and a control unit 320. The storage unit 310 can store, for example, a program 311 and character information 312. When the program 311 is executed, the control unit 320 of the computer device 301 functions as, for example, a reception unit 321, a first generation unit 322, a first acquisition unit 323, a first output unit 324, a second determination unit 325, and a second output unit 326.
[0140] The receiving unit 321 has a function of receiving a user input from a user. The first generating unit 322 has a function of generating a first prompt based on at least the user input received by the receiving unit 321.
[0141] The first acquisition unit 323 has a function of acquiring answer data regarding the character's answer to the user input from a predetermined language model 351, using the first prompt generated by the first generation unit 322. The first output unit 324 has a function of outputting an answer to the user via the character, based on the answer data acquired by the first acquisition unit 323.
[0142] The second determination unit 325 has a function of determining a filler effect based on the user input received by the reception unit 321. The second output unit 326 has a function of outputting the filler effect determined by the second determination unit 325 via the character during the period from when the reception unit 321 receives the user input until when the first output unit 324 outputs an answer.
[0143] Server device 305 includes at least a predetermined language model 351. Server device 305 uses language model 351 to create various types of response data in response to various prompts sent from computer device 301. There are no particular limitations on language model 351 as long as it is capable of creating response data in response to various prompts received from computer device 301, but it is preferable that it be, for example, a large-scale language model.
[0144] Next, an information processing method using the computer device 301 according to the fourth embodiment will be described. Fig. 12 is a flowchart showing an example of the information processing method corresponding to at least one of the embodiments of the present disclosure.
[0145] In step S61, the computer device 301 accepts a user input from the user. In step S62, the computer device 301 determines a filler effect based on the user input accepted in step S61 (second determination).
[0146] In step S62, the computer device 301 outputs the filler effect determined in step S62 via the character during the period from after receiving the user input in step S61 until outputting the answer in step S66 (described later) (second output).
[0147] In step S64, the computer device 301 generates a first prompt based on at least the user input received in step S61 (first generation). In step S65, the computer device 301 uses the first prompt generated in step S64 to obtain response data regarding the character's response to the user input from the language model 351 (first acquisition).
[0148] In step S66, the computer device 301 outputs an answer to the user via the character based on the answer data acquired in step S65 (first output), and then ends the process.
[0149] As one aspect of the fourth embodiment, a new technique can be provided for enhancing the expressiveness of a character in a response using a predetermined language model. Specifically, it becomes easier to realize natural expressions that make a character appear as if it is actually thinking of a response in response to a user input. This also reduces the impression that the user may have of a long wait time before an answer is output.
[0150] In the fourth embodiment, the terms "computer device," "user input," "predetermined character," "character information," "first prompt," and "outputting an answer to the user via a character" may each adopt the contents described in the first or second embodiment to the extent necessary.
[0151] In addition, in the fourth embodiment, the "second prompt" and "filler effect" may adopt the contents described in the second embodiment to the extent necessary.
[0152] Although the embodiments of the present disclosure have been described above in detail, the present invention is not limited to the above-described embodiments and can be appropriately modified, improved, etc. The present invention is defined by the claims and includes all modifications within the meaning and scope of the claims.
[0153] [Note] The above-described embodiments have been described in such a manner that a person skilled in the art to which the invention pertains can implement the following invention.
[0154] [1] A program executed on a computer device, The computer device A reception function for receiving user input from a user; a first determination function for determining character information for a first prompt from character information previously set as information relating to the personality and action guidelines of a predetermined character based at least on the user input; a first generation function that generates a first prompt based on the user input and the first prompt character information; a first obtaining function that obtains, using the first prompt, response data regarding the character's response to the user input from a predetermined language model; a first output function for outputting an answer to the user via the character based on the answer data; A program that makes this happen.
[0155] [2] the output includes audio and / or motion images of the character; The program described in [1] above.
[0156] [3] The character information includes information about the character's hobbies and / or preferences. The program described in [1] or [2] above.
[0157] [4] When the user input includes a topic related to the character's hobbies and / or preferences, the first determination function can include, in the first prompt character information, an instruction to generate another topic related to the hobbies and / or preferences. The program described in [3] above.
[0158] [5] the output includes audio and / or motion images of the character; the first output function, when the user input includes a topic related to the character's hobbies and / or preferences, makes the audio and / or the motion image different from when the user input does not include the topic; The program described in [3] or [4] above.
[0159] [6] the character information includes information about prohibited topics that the character is prohibited from talking about; The first determination function can include, when the user input includes a topic that corresponds to the prohibited topic, an instruction to generate another topic different from the prohibited topic in the first prompt character information. A program according to any one of [1] to [5] above.
[0160] [7] The first generating function further generates the first prompt based on a history of the user input and the answers. The program according to any one of [1] to [6] above.
[0161] [8] The first determination function further determines the first prompt character information from the character information based on a predetermined change condition of a guideline of action. The program according to any one of [1] to [7] above.
[0162] [9] The computer device further comprises: a conversion function that converts the text included in the answer data acquired by the first acquisition function into a phrase that corresponds to the character; the first output function outputs the answer based on the text converted by the conversion function. A program according to any one of [1] to [8] above.
[0163]
[10] the output includes audio and / or motion images of the character; the first generation function is capable of generating a first prompt including an instruction sentence for instructing the character to indicate a point in the text of the answer data where the character should express a predetermined emotion, When the expression point is indicated in the answer data, the first output function outputs the answer while making the character express the expression of the emotion by the voice and / or the motion image at least at the expression point. The program according to any one of [1] to [9] above.
[0164]
[11] the first generation function is capable of generating a first prompt including, when there is a point in the text of the answer data where the character should express a predetermined emotion, an instruction sentence instructing the character to indicate the beginning of the sentence in which the point exists, in addition to the point; When the expression point is indicated in the answer data, the first output function outputs the answer while making the character express the expression of the emotion by the voice and / or the motion image at least from the beginning of the sentence to the expression point. The program described in
[10] above.
[0165]
[12] When the expression point is indicated in the response data, the first output function terminates the expression related to the expression of the emotion in response to a predetermined termination condition being satisfied after the expression of the emotion at the expression point. The program described in
[10] or
[11] above.
[0166]
[13] The computer device further comprises: a second determination function for determining a filler effect based on the user input; A second output function is realized to output the filler effect determined by the second determination function via the character during the period from after the user input is accepted to before the answer is output by the first output function. A program according to any one of [1] to
[12] above.
[0167]
[14] The second determination function analyzes the content input by the user and determines the filler effect based on the analysis result, the analyzing includes analyzing whether the user input includes a question. The program described in
[13] above.
[0168]
[15] The second determination function analyzes the content input by the user and determines the filler effect based on the analysis result, the analysis includes analyzing the user's sentiment based on the text or voice of the user input; The program described in
[13] or
[14] above.
[0169]
[16] The computer device further comprises: a second generating function for generating a second prompt including an instruction sentence for instructing the user to determine the content of the user input; realizing a second acquisition function that acquires, using the second prompt, determination data relating to a result of the determination from the language model; The second determination function determines the filler effect based on the judgment data. The program according to any one of
[13] to
[15] above.
[0170]
[17] The determining includes determining whether the user input is positive or negative. The program described in
[16] above.
[0171]
[18] The determining includes determining whether the user input is different from a previous topic. The program described in
[16] or
[17] above.
[0172]
[19] The filler effect includes an effect of outputting at least a part of the user input as text and / or audio via the character. A program according to any one of
[13] to
[18] above.
[0173]
[20] To the computer device, a receiving step of receiving a user input from a user; a first determination step of determining character information for a first prompt from character information previously set as information relating to the character's personality and course of action based on at least the user input; a first generation step of generating a first prompt based on the user input and the first prompt character information; a first acquisition step of acquiring response data regarding a response of the character to the user input from a predetermined language model using the first prompt; a first output step of outputting an answer to the user via the character based on the answer data; An information processing method, including causing a computer to execute the above.
[0174] [twenty one] Accepting means for accepting user input from a user; a first determination means for determining character information for a first prompt from character information previously set as information relating to the character's personality and course of action based on at least the user input; a first generating means for generating a first prompt based on the user input and the first prompt character information; a first acquisition means for acquiring response data regarding a response of the character to the user input from a predetermined language model using the first prompt; a first output means for outputting an answer to the user via the character based on the answer data; A computer device comprising:
[0175] [twenty two] A program executed on a computer device, The computer device A reception function for receiving user input from a user; a first generating function that generates a first prompt based at least on the user input; a first acquisition function that acquires, using the first prompt, response data relating to a response to the user input from a predetermined language model; a first output function of outputting an answer to the user via a predetermined character based on the answer data; the output includes audio and / or motion images of the character; the first generation function is capable of generating a first prompt including an instruction sentence for instructing the character to indicate a point in the text of the answer data where the character should express a predetermined emotion, When the expression point is indicated in the answer data, the first output function outputs the answer while making the character express the expression of the emotion by the voice and / or the motion image at least at the expression point. program.
[0176] [twenty three] The program according to
[22] above, A program including any one or more of the configurations described in [1] to
[19] above.
[0177] [twenty four] To the computer device, a receiving step of receiving a user input from a user; a first generating step of generating a first prompt based at least on the user input; a first acquisition step of acquiring answer data relating to an answer to the user input from a predetermined language model using the first prompt; a first output step of outputting an answer to the user via a predetermined character based on the answer data, the output includes audio and / or motion images of the character; In the first generating step, a first prompt can be generated that includes an instruction sentence for instructing the character to indicate a point in the text of the answer data where the character should express a predetermined emotion, When the expression point is indicated in the answer data, in the first output step, the answer is output while the character expresses the expression of the emotion by the voice and / or the motion image at least at the expression point. Information processing methods.
[0178] [twenty five] Accepting means for accepting user input from a user; a first generating means for generating a first prompt based at least on the user input; a first acquisition means for acquiring answer data relating to an answer to the user input from a predetermined language model using the first prompt; a first output means for outputting an answer to the user via a predetermined character based on the answer data; the output includes audio and / or motion images of the character; the first generation means is capable of generating a first prompt including an instruction sentence for instructing the character to indicate a point in the text of the answer data where the character should express a predetermined emotion, When the expression point is indicated in the answer data, the first output means outputs the answer while making the character express the expression of the emotion by the voice and / or the motion image at least at the expression point. Computer equipment.
[0179]
[26] A program executed on a computer device, The computer device A reception function for receiving user input from a user; a first generating function that generates a first prompt based at least on the user input; a first acquisition function that acquires, using the first prompt, response data relating to a response to the user input from a predetermined language model; a first output function of outputting an answer to the user via a predetermined character based on the answer data; The computer device further comprises: a second determination function for determining a filler effect based on the user input; A second output function is realized to output the filler effect determined by the second determination function via the character during the period from after the user input is accepted to before the answer is output by the first output function. program.
[0180]
[27] The program according to
[26] above, A program including any one or more of the configurations described in [1] to
[19] above.
[0181]
[28] To the computer device, a receiving step of receiving a user input from a user; a first generating step of generating a first prompt based at least on the user input; a first acquisition step of acquiring answer data relating to an answer to the user input from a predetermined language model using the first prompt; a first output step of outputting an answer to the user via a predetermined character based on the answer data; The computer device further comprises: A second determination step of determining a filler effect based on the user input; a second output step of outputting the filler effect determined in the second determination step via the character during the period from after the user input is received until the answer is output in the first output step, Information processing methods.
[0182]
[29] Accepting means for accepting user input from a user; a first generating means for generating a first prompt based at least on the user input; a first acquisition means for acquiring answer data relating to an answer to the user input from a predetermined language model using the first prompt; a first output means for outputting an answer to the user via a predetermined character based on the answer data; moreover, A second determination means for determining a filler effect based on the user input; and second output means for outputting the filler effect determined by the second determination means via the character during the period from after the user input is received until the answer is output by the first output means. Computer equipment. [Explanation of symbols]
[0183] 1,101,201,301:Computer equipment 5,105,205,305: Server equipment 51,151,251,351: Language model
Claims
1. A program executed on a computer device, The computer device A reception function for receiving user input from a user; a first determination function for determining character information for a first prompt from character information previously set as information relating to the personality and action guidelines of a predetermined character based at least on the user input; a first generation function that generates a first prompt based on the user input and the first prompt character information; a first obtaining function that obtains, using the first prompt, response data regarding the character's response to the user input from a predetermined language model; a first output function for outputting an answer to the user via the character based on the answer data; A program that makes this happen.
2. the character information includes information about the character's hobbies and / or preferences; When the user input includes a topic related to the character's hobbies and / or preferences, the first determination function can include, in the first prompt character information, an instruction for generating another topic related to the hobbies and / or preferences. The program according to claim 1.
3. the character information includes information about prohibited topics that the character is prohibited from talking about; The first determination function can include, when the user input includes a topic that corresponds to the prohibited topic, an instruction to generate another topic different from the prohibited topic in the first prompt character information. The program according to claim 1 or 2.
4. The first determining function further determines the first prompt character information from the character information based on a predetermined change condition of a guideline of action. The program according to claim 1 or 2.
5. the output includes audio and / or motion images of the character; the first generation function is capable of generating a first prompt including an instruction sentence for instructing the character to indicate a point in the text of the answer data where the character should express a predetermined emotion, When the expression point is indicated in the answer data, the first output function outputs the answer while making the character express the expression of the emotion by the voice and / or the motion image at least at the expression point. The program according to claim 1 or 2.
6. The computer device further comprises: a second determination function for determining a filler effect based on the user input; a second output function that outputs the filler effect determined by the second determination function via the character during the period from after the user input is accepted to before the answer is output by the first output function; The program according to claim 1 or 2.
7. To the computer device, a receiving step of receiving a user input from a user; a first determination step of determining character information for a first prompt from character information previously set as information relating to the character's personality and guidelines of action based on at least the user input; a first generation step of generating a first prompt based on the user input and the first prompt character information; a first acquisition step of acquiring response data regarding a response of the character to the user input from a predetermined language model using the first prompt; a first output step of outputting an answer to the user via the character based on the answer data; An information processing method, including causing a computer to execute the above.
8. Accepting means for accepting user input from a user; a first determination means for determining character information for a first prompt from character information previously set as information relating to the individuality and action guidelines of the character based on at least the user input; a first generating means for generating a first prompt based on the user input and the first prompt character information; a first acquisition means for acquiring response data regarding a response of the character to the user input from a predetermined language model using the first prompt; a first output means for outputting an answer to the user via the character based on the answer data; A computer device comprising: