Dialogue interaction method and apparatus, electronic device and medium
By combining natural language processing capabilities with dialogue interaction, the target dialogue interaction model is used to simulate dialogue objects for task interaction, which solves the problem of lack of realism and interactivity in game interaction, and improves the game experience of language communication and problem solving skills.
Patent Information
- Application Number
- PCT/CN2024/105056
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-01-16
- Filing Date
- 2024-07-11
- Publication Date
- 2025-07-24
AI Technical Summary
In existing game interactions, game character simulations lack realism and interactivity, and cannot effectively exercise language communication skills and problem-solving skills.
Through the combination of natural language processing ability and dialogue interaction, the target dialogue interaction model is used to simulate the second dialogue object and the first dialogue object for dialogue interaction, realizing the display of task prompt content and loading of operation pages, and training understanding and analysis skills and communication and expression skills.
It enhances the authenticity and interactivity of game interaction, enhances language communication skills and problem-solving skills, and provides a personalized dialogue and interactive experience.
Smart Images

Figure CN2024105056_24072025_PF_FP_ABST
Abstract
Description
Dialogue interaction method, device, electronic device and medium
[0001] This application claims priority to Chinese invention patent application number 202410064897.8, filed on January 16, 2024, and entitled “Conversational Interaction Method, Device, Electronic Device, and Medium,” the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The embodiments of the present disclosure relate to the field of intelligent interaction technology, and in particular to a conversation interaction method, device, electronic device, and medium. Background Art
[0003] With the continuous development of technology, interactive gaming, as an emerging form of entertainment, has received increasing attention. Role-playing is a form of interactive gaming that allows players to simulate different game characters and participate in a virtual gaming world, experiencing different situations and plots.
[0004] In related solutions, the simulated interaction of game characters is often achieved through simple button operations or mouse clicks, and the simulated interaction of game characters is usually just a series of repetitive actions according to the game settings. In the game, it is often just a simple execution of preset character operations. Although simple and easy to understand, it is impossible to interact in the game environment. Not only does it lack realism and interactivity, but a series of repetitive actions in the game interaction cannot exercise language communication skills and problem-solving abilities.
[0005] Summary of the Invention
[0006] The embodiments of the present disclosure provide a conversation interaction method, device, electronic device, and medium to achieve the integration of natural language processing capabilities and conversation interaction to perform more interactive conversation interaction operations that simulate real situations, thereby improving language communication skills and problem-solving capabilities.
[0007] In a first aspect, an embodiment of the present disclosure provides a conversation interaction method, the method comprising: displaying task prompt content of a target conversation interaction task of a first conversation object, the first conversation object being a virtual object authorized for use by a target user, the task prompt content including a task summary content and a task objective; in response to a trigger operation for confirming the initiation of the target conversation interaction task, loading and displaying a target conversation interaction task operation page required for the first conversation object, the target conversation interaction task being associated with the training of at least one language interaction ability, the language interaction ability including understanding and analysis ability and communication and expression ability; simulating, by a target conversation interaction model, a second conversation object performing a simulated conversation interaction with the first conversation object on the target conversation interaction task operation page, the target conversation interaction model being pre-trained based on a natural language model and configured to guide the first conversation object to a conversation response according to the task summary content corresponding to the target conversation interaction task toward the task objective corresponding to the target conversation interaction task.
[0008] In a second aspect, an embodiment of the present disclosure further provides a conversation interaction device, the device comprising: a first display module for displaying task prompt content of a target conversation interaction task of a first conversation partner, the first conversation partner being a virtual object authorized for use by a target user, the task prompt content including a task summary content and a task objective; a second display module for, in response to a trigger operation for confirming the initiation of a target conversation interaction task, loading and displaying a target conversation interaction task operation page required for the first conversation partner, the target conversation interaction task being associated with the training of at least one language interaction ability, the language interaction ability including understanding and analysis ability and communication and expression ability; a conversation interaction module for simulating a conversation interaction between the second conversation partner and the first conversation partner on the target conversation interaction task operation page through a target conversation interaction model, the target conversation interaction model being pre-trained based on a natural language model, and guiding the first conversation partner to conduct a conversation response to the task objective corresponding to the target conversation interaction task according to the task summary content corresponding to the target conversation interaction task.
[0009] In a third aspect, an electronic device is also provided in an embodiment of the present disclosure, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the dialogue interaction method described in any one of the above embodiments.
[0010] In a fourth aspect, a computer-readable medium is also provided in an embodiment of the present disclosure, wherein the computer-readable medium stores computer instructions, and the computer instructions are used to enable a processor to implement the dialogue interaction method described in any one of the above embodiments when executed.
[0011] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become readily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] The above and other features, advantages, and aspects of the various embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that the originals and elements are not necessarily drawn to scale.
[0013] FIG1 is a flow chart of a conversation interaction method provided by an embodiment of the present disclosure;
[0014] FIG2a is a schematic diagram of an interaction of a conversational interaction applicable to an embodiment of the present disclosure;
[0015] FIG2 b is a schematic diagram showing a display of a dialog interaction task selection page applicable to an embodiment of the present disclosure;
[0016] FIG2c is a schematic diagram showing the display of task prompt content of an applicable dialogue interaction task provided by an embodiment of the present disclosure;
[0017] FIG3a is a schematic diagram of a conversation interaction on a conversation interaction task operation page applicable to an embodiment of the present disclosure;
[0018] FIG3 b is a schematic diagram of another applicable dialogue interaction on a dialogue interaction task operation page provided by an embodiment of the present disclosure;
[0019] FIG3c is a schematic diagram of another applicable dialogue interaction on a dialogue interaction task operation page provided by an embodiment of the present disclosure;
[0020] FIG4 is a flow chart of another dialogue interaction method provided by an embodiment of the present disclosure;
[0021] FIG5 is a schematic diagram of a task execution result of an applicable evaluation dialogue interaction task provided by an embodiment of the present disclosure;
[0022] FIG6 is a pair of task diagrams of different conversational interaction tasks applicable to an embodiment of the present disclosure;
[0023] FIG7 is a structural block diagram of a conversation interaction device provided by an embodiment of the present disclosure;
[0024] FIG8 is a structural block diagram of an electronic device for implementing the conversation interaction method according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0025] The following describes embodiments of the present disclosure in more detail with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.
[0026] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0027] As used herein, the term "including" and its variations are open-ended, i.e., "including but not limited to." The term "based on" means "based, at least in part, on." The term "one embodiment" means "at least one embodiment," the term "another embodiment" means "at least one additional embodiment," and the term "some embodiments" means "at least some embodiments." Other terms are defined in the following description.
[0028] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0029] It should be noted that the modifications of "one" and "multiple" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, they should be understood as "one or more".
[0030] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0031] It is understandable that before using the technical solutions disclosed in the various embodiments of this disclosure, the type, scope of use, usage scenarios, etc. of the personal information involved in this disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0032] For example, in response to a user's active request, a prompt message is sent to the user to clearly inform the user that the operation requested will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the electronic device, application, server, storage medium, or other software or hardware that performs the operations of the disclosed technical solution based on the prompt message.
[0033] As an optional but non-limiting implementation, in response to a user's active request, the prompt information may be sent to the user in the form of a pop-up window, for example, in which the prompt information may be presented in text form. Furthermore, the pop-up window may also include a selection control for the user to select "Agree" or "Disagree" to provide personal information to the electronic device.
[0034] It is understandable that the above notification and user authorization process are merely illustrative and do not limit the implementation of the present disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0035] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) must comply with the requirements of relevant laws, regulations and relevant provisions.
[0036] In the following embodiments, each embodiment provides optional features and examples. The various features described in the embodiments can be combined to form multiple optional solutions. Each numbered embodiment should not be regarded as just one technical solution. In addition, the embodiments and features in the embodiments of this disclosure can be combined with each other unless there is a conflict.
[0037] Figure 1 is a flow chart of a conversational interaction method provided by an embodiment of the present disclosure. The technical solution of this embodiment is applicable to situations where natural language processing capabilities are combined with conversational interaction to enhance conversational interaction. This method can be performed by a conversational interaction device, which can be implemented using software and / or hardware and is generally integrated into any electronic device with network communication capabilities. Such electronic devices include, but are not limited to, computers, personal digital assistants, and other devices.
[0038] As shown in FIG1 , the conversation interaction method of this embodiment may include the following processes S110 , S120 , and S130 .
[0039] S110: Displaying task prompt content of the target dialogue interaction task of the first dialogue object, where the first dialogue object is a virtual object authorized for use by the target user, and the task prompt content includes a task summary content and a task target.
[0040] A conversational interaction task can refer to a task in a digital environment, such as virtual reality or augmented reality, in which different conversation partners interact with each other toward a task goal according to the task outline. By simulating real-world tasks, the corresponding conversation partners in the real world interact with the conversation partners in the game, thereby improving the conversation partners' language communication skills and problem-solving abilities through conversational interaction. For example, in the case of a conversational interaction task involving a game character, a real-world game character needs to interact with the game character according to the task requirements to complete a specific task goal. These tasks can increase the playability and challenge of the game, while also improving the player's gaming experience and engagement.
[0041] A dialogue object can be a virtual character or entity that engages in dialogue interaction within a dialogue interaction task. These dialogue objects can be virtual characters, virtual scenes, virtual objects, etc. A first dialogue object is a virtual object authorized by the target user for use in the target dialogue interaction task. The first dialogue object is connected to the target user in the real world and can be controlled by the target user. By controlling the first dialogue object to perform natural language input, the first dialogue object can be made to participate in the target dialogue interaction task.
[0042] After the target interactive conversation task is selected by the first conversation partner, the task prompt content for the target interactive conversation task is obtained and loaded and displayed. Visualizing the process of the target interactive conversation task through the task prompt content allows the target user connected to the first conversation partner to better understand the gameplay of the interactive conversation task, avoiding misunderstandings or incorrect operations during the interactive conversation task. It also allows the target user to better integrate into the interactive conversation scenario, enhancing the immersion and experience of the interactive conversation task, facilitating and quickly entering the interactive conversation task state, and better planning the interactive conversation task strategy based on the prompt content, thereby increasing the fun and challenge of executing the interactive conversation task.
[0043] As an optional but non-limiting implementation method, displaying the task prompt content of the target dialogue interaction task of the first dialogue partner includes the following steps A1-A3.
[0044] Step A1: Create and display a dialogue interaction task selection page for a first dialogue partner, where a plurality of candidate dialogue interaction tasks are presented on the dialogue interaction task selection page.
[0045] Step A2: In response to a selection operation on a target dialogue interaction task on a dialogue interaction task selection page, task parameters of the target dialogue interaction task are obtained from a preset storage.
[0046] Step A3: Displaying the task prompt content of the target dialogue interaction task of the first dialogue partner according to the task parameters of the target dialogue interaction task.
[0047] Referring to Figure 2a, when a target user is authorized to participate in a conversational interaction task using a first conversational partner, a conversational interaction task selection page is created and displayed for the first conversational partner. The target user can view at least one candidate conversational interaction task on this page. For example, Figure 2b lists various game role-playing tasks, including Sun Wukong's wisdom over the White Bone Demon, persuading a friend to admit a mistake, and volunteering to be class monitor. On this page, the target user can select a desired conversational interaction task from the displayed candidate tasks through the first conversational partner.
[0048] As shown in Figure 2a, after selecting a target interactive dialogue task of interest, the task parameters for the target interactive dialogue task can be retrieved from the preset storage. The task parameters for the target interactive dialogue task are the parameters used to render and generate the task prompt content for the target interactive dialogue task. For example, if the interactive dialogue task is a game character simulation task, the corresponding game character simulation task script parameters, such as character information, background story, and dialogue options, can be retrieved from the database.
[0049] Referring to Figure 2a, task prompts for the target conversational interaction task of the first conversational partner can be rendered and displayed according to the task parameters of the target conversational interaction task, so that the target user can continue the next conversational interaction task through the first conversational partner according to the task prompts. In some embodiments, the task prompts for the conversational interaction task can refer to factors such as the task scenario or context of the conversation, the preceding and following plot, and the relationships between the conversational partners. These factors collectively constitute the overall story context of the conversational interaction task and are crucial for understanding and interpreting the conversational interaction task.
[0050] It's important to note that the task selection pages and task parameters for different interactive dialogue tasks may be adjusted and modified based on specific circumstances. When designing and implementing interactive dialogue tasks, it's important to consider multiple factors, including interactive needs, balance, and rationality, to ensure stability and playability.
[0051] By adopting the above scheme, the target user can select the dialogue partner of his / her interest on the dialogue interaction task selection page to perform the dialogue interaction task, and see the task prompt content of the corresponding dialogue interaction task based on the task parameters of the pulled dialogue interaction task, thereby better understanding the dialogue interaction task and improving the playability and fun of most interactive tasks.
[0052] As an optional but non-limiting implementation, the task prompt content of the target conversational interaction task includes a first prompt content, a second prompt content, and a third prompt content. The first prompt content is used to indicate the conversational partner setting and the task flow of the conversational interaction task. The second prompt content is used to indicate the task summary content and the expected task objectives of the conversational interaction task. The third prompt content is used to prompt the target conversational interaction model to maintain the task summary content and task objectives of the conversational interaction task set by the conversational partner when simulating the conversational interaction between the second conversational partner and the first conversational partner.
[0053] Conversational interaction tasks are the core of conversational interaction between conversation partners. To ensure that conversational interaction tasks meet conversational interaction requirements, it is necessary to screen appropriate conversational interaction task types, conduct multiple interaction debugging in advance, and ultimately produce conversational interaction tasks in the form of prompts and record them in the dynamic configuration center.
[0054] For example, taking the dialogue interaction task type of "Sun Wukong's Knowledge of the White Bone Demon" as an example, the main body of a dialogue interaction task is as follows:
[0055] You are the host of the fun challenge for the "Sun Wukong Discerns the White Bone Demon" scenario. In this scenario, there are two characters: you play Tang Sanzang and the other player plays Sun Wukong. Different characters have different goals, and you both need to achieve your respective goals through communication. The plot is as follows: Tang Sanzang and his disciples encounter a suspicious village girl in the wilderness. Sun Wukong recognizes her as the White Bone Demon in disguise, but Tang Sanzang does not. Sun Wukong needs to persuade Tang Sanzang to see through the White Bone Demon's trap. Character Objectives: Sun Wukong: Use language to persuade Tang Sanzang to see through the White Bone Demon's trap; Tang Sanzang: Maintain Tang Sanzang's character setting (pedantic and trusting of outsiders, but suspicious of his own disciples and always assuming others' motives with good intentions) and provide a reasonable rebuttal to Wukong. If the player talks about something else outside of their character, you need to stabilize their character setting and bring them back to the scenario.
[0056] The fun challenge process is as follows:
[0057] Step 1: Explain the rules of the fun challenge to the players and mark step = 1. Okay, you chose the theme "Sun Wukong Conquers the White Bone Demon." In this scenario, you play as Sun Wukong and I play as Tang Sanzang. In front of us is the White Bone Demon disguised as a village girl. You need to persuade me to see through the White Bone Demon's trap and not save this fake village girl. If you can persuade me to see through the White Bone Demon's trap, you win! Be careful, as Tang Sanzang, I'm both kind and stubborn. Think carefully about how to persuade me. If I get angry, I'll use the Tightening Curse. Okay, now that you understand the rules, let's get started!
[0058] Step 2: Take on fun challenges
[0059] 1. You initiate the first round of dialogue and start speaking in the tone of Tang Monk, and guide the players to talk to you, for example: Wukong, let's go help this village girl, what do you think?
[0060] 2. You must faithfully play your role and achieve your goal as much as possible. Talk to the player for at least five rounds, and don't repeat your responses mechanically. If the other party still fails to convince you after more than ten rounds, you can declare the player a failure and explain the reasons for their failure. If the other party simply gives up trying to convince you, you also declare them a failure.
[0061] 3. During the fun challenge, you must speak from your character's first-person perspective. You cannot include any third-person perspective descriptions, and you do not need to include prompts or quotes.
[0062] Step 3: Evaluate the results of this fun challenge. When the player's message to you indicates a win or loss, step 4 is marked. At this point, your reply will no longer be your role, but rather your role as the fun challenge host, announcing the results and evaluating the fun challenge. This must include the following:
[0063] 1. Announce the winner of the game: If your character's goal is achieved, you declare the player a failure. If the player's character's goal is achieved, you declare the player a success. For example: Congratulations on successfully completing the challenge or Unfortunately, this challenge failed.
[0064] 2. You need to evaluate the other party's performance based on problem-solving ability and communication skills;
[0065] 3. After evaluating the player’s performance, you also need to tell the player how the player’s character needs to communicate in this scenario to better complete the challenge.
[0066] The first prompt content is the task prompt content of the target interactive dialogue task, which can indicate the dialogue partner settings and task flow of the interactive dialogue task. For example, the dialogue partner settings may include the following: role settings: determining the role settings of the dialogue partner, such as friend, mentor, enemy, etc., and setting a unique personality, background, and goals for each dialogue partner; emotional state: setting different emotional states for the dialogue partner, such as happiness, anger, sadness, etc. These emotional states will affect the dialogue partner's response during the interactive dialogue; and knowledge and skills: setting corresponding knowledge and skills for the dialogue partner based on the dialogue partner's background and goals.
[0067] For the dialogue interaction task setting, it can include the following: situation setting: set a specific situation for the dialogue interaction task, such as solving a problem, completing a task, conducting a negotiation, etc.; dialogue options: design a series of dialogue options, and you can choose different dialogue responses. These options should be designed according to the task process and situation to guide the completion of the dialogue interaction task; feedback mechanism: feedback can be in text, voice, animation or other forms to enhance the immersion and participation of the dialogue interaction; task completion: design different task completion conditions according to the task process, and give corresponding rewards or achievements when the dialogue task is completed.
[0068] The second prompt content is the task prompt content of the target dialogue interaction task, which can indicate the task summary content and the expected task objectives of the dialogue interaction task. Optionally, the task summary content of the dialogue interaction task can refer to a concise and clear description of a dialogue interaction task, including the name, objectives, background, steps and requirements of the task. The task summary content is used to enable the dialogue object to quickly understand the basic situation of the dialogue interaction task, clarify the focus and requirements of the dialogue interaction task, so as to better complete the dialogue interaction task. In some embodiments, the task name is the specific name of the task for easy identification and distinction, the task goal is the specific goal or result that the task needs to achieve; the task background is the relevant background information of the task, such as the source, purpose, significance, etc. of the task; the task steps are the specific steps or processes required to complete the task; and the task requirements are the standards that need to be followed to complete the task.
[0069] Optionally, the task objective of a conversational interaction task can refer to the specific outcome or goal to be achieved within the task. The task objective is the core of the task, clarifying the direction in which the interlocutor should respond to the task. The task objective should be specific, unambiguous, and measurable, consistent with the context and requirements of the task. It could be completing a specific task, solving a problem, or achieving a specific indicator or outcome.
[0070] For example, the task summary for a dialogue interaction task might be as follows: "The plot is as follows: Tang Sanzang and his disciples encounter a suspicious village girl in the wilderness. Sun Wukong recognizes her as the White Bone Demon in disguise, but Tang Sanzang does not. Sun Wukong needs to persuade Tang Sanzang through her trap." The task objectives for a dialogue interaction task might be as follows: "Role Objective: Sun Wukong: Use language to persuade Tang Sanzang to see through the White Bone Demon's trap; Tang Sanzang: Maintain Tang Sanzang's character setting (pedantic and credulous, but suspicious of his disciples and always making benevolent assumptions about others' motives) and provide a reasonable rebuttal to Wukong."
[0071] The third prompt content is the task prompt content of the target conversational interaction task, which prompts the target conversational interaction model to maintain the task summary and task objectives set by the second conversational partner when simulating the conversational interaction between the second conversational partner and the first conversational partner. Guiding the conversational partner in conversational interaction during a conversational interaction task is one of the important means of promoting the execution of the conversational interaction task. Through dialogue, the conversational partner can understand the background story of the conversational interaction task, the relationship between the conversational partners, and the task objectives, thereby better integrating into the conversational interaction task. To promote the execution of the conversational interaction task, interesting dialogue options can be designed to allow the conversational partner to experience different conversational interaction tasks with different choices. It is important to note that the conversational partner should not be prompted or told how to respond, as this will undermine the conversational partner's initiative in the conversational interaction. The conversational partner should be allowed to think and decide for themselves, and their choices should drive the next step of the conversational interaction task. The target conversational interaction model only needs to guide the first conversational partner to limit the conversational interaction task to the task summary and task objectives when simulating the second conversational partner.
[0072] S120. In response to a trigger operation for confirming the start of a target dialogue interaction task, a target dialogue interaction task operation page required by the first dialogue partner is loaded and displayed. The target dialogue interaction task is associated with the training of at least one language interaction ability. The language interaction ability includes understanding and analysis ability and communication and expression ability.
[0073] Referring to Figures 2a and 2c, the task prompt content of the target dialogue interaction task presents a trigger option for triggering the start of the target dialogue interaction task. By receiving the trigger start of the target dialogue interaction task by the target user through the first dialogue object, the operation page parameters corresponding to the target dialogue interaction task required by the first dialogue object can be pulled, and the target dialogue interaction task operation page required by the first dialogue object can be loaded and displayed, so that the first dialogue object can use the target dialogue interaction task operation page to conduct dialogue interaction.
[0074] Referring to Figures 2a and 2c, the target dialogue interaction task operation page will synchronously display the task summary content and task objectives in the task prompt content of the target dialogue interaction task, so that the target user connected to the first dialogue object can be informed quickly by loading and displaying the target dialogue interaction task operation page to understand the task process and task objectives to be achieved of the target dialogue interaction task, and after confirming that the task process and task objectives to be achieved of the target dialogue interaction task have been clearly displayed, further judgment is made on whether to start the target dialogue interaction task, and then the dialogue interaction between the dialogue objects is executed.
[0075] S130. Simulate a dialogue interaction between the second dialogue partner and the first dialogue partner on the target dialogue interaction task operation page through the target dialogue interaction model. The target dialogue interaction model is pre-trained based on a natural language model and is used to guide the first dialogue partner to conduct a dialogue response to the task goal corresponding to the target dialogue interaction task according to the task summary content corresponding to the target dialogue interaction task.
[0076] Referring to Figures 3a, 3b, and 3c, on the target dialogue interaction task operation page, the target dialogue interaction model can simulate a second dialogue partner, while the first dialogue partner is a virtual object authorized by the target user. This allows the first and second dialogue partners to engage in dialogue interaction as the two task performers of the target dialogue interaction task, respectively. During the dialogue interaction, the second dialogue partner simulated by the target dialogue interaction model will guide the first dialogue partner according to the task summary and task objectives corresponding to the target dialogue interaction task. However, the second dialogue partner does not explicitly instruct the first dialogue partner on how to conduct the conversation. Instead, the second dialogue partner asks questions to guide the first dialogue partner toward the task objectives. The hope is that after one or more dialogue interactions, the first dialogue partner will generate dialogue responses that meet the task objectives.
[0077] Optionally, the task progress status of the target conversational interaction task can be differentiated based on the corresponding value of the step field returned by the target conversational interaction model. The display interface will display different task progress statuses for different target conversational interaction tasks. For example, when the conversational interaction task has just begun execution, the title indicating the start of the conversational interaction task will be displayed; when the conversational interaction task has finished execution, the corresponding guidance will be displayed to help the user enter the subsequent process. Due to the uncertainty of the content returned by the target conversational interaction model, the format of the content returned by the target conversational interaction model needs to be standardized to facilitate parsing the stage and status of the current conversational interaction task. This solution stipulates that the target conversational interaction model is returned in Json format and clearly defines the meaning of each field in Json.
[0078] For example, let's take the "Sun Wukong Knows the White Bone Demon" task as an example. The Json format content returned in a dialogue interaction task is as follows:
[0079] "You need to return the content of each reply strictly in JSON format, including 3 keys. You must return 3 keys each time. Do not output "" in the content of the key, otherwise it will cause the JSON format to be incorrect. The correct format is as follows: {"answer":"xxx","step"=x,"user_intent"=x}.
[0080] In some embodiments, 1. "answer": value is in string format and is used to store your reply content; 2. "step": value is in int format and is used to identify the current fun challenge stage, including 1- Fun Challenge Rules Introduction, 2- Single Round Fun Challenge Start, 3- Single Round Fun Challenge In Progress, 4- Single Round Fun Challenge End, 5- Abnormal End Inquiry, 6- All Fun Challenges End, 7- Change Fun Challenge, 8- Change Script; 3. "user_intent": value is in int format and is used to identify the current user's intention. This field must not be empty.
[0081] The technical solution of the disclosed embodiment displays a task prompt for a target interactive conversation task selected by a first conversation partner, including a task summary and a task objective. In response to a trigger operation confirming the initiation of the target interactive conversation task, the target interactive conversation task operation page required by the first conversation partner is loaded and displayed. The target interactive conversation task is associated with the training of at least one language interaction ability, including comprehension and analysis skills and communication and expression skills. On the target interactive conversation task operation page, a target interactive conversation model is used to simulate a second conversation partner engaging in a simulated conversation with the first conversation partner according to the task summary corresponding to the target interactive conversation task and the task objective corresponding to the target interactive conversation task. This combines natural language processing capabilities with interactive conversation operations, enhancing conversational interactivity and engagement, allowing for a more immersive experience of the interactive conversation context and a more realistic interaction with the conversation partner. By continuously engaging in interactive conversations and rapidly outputting interactive responses that achieve the task objective of the target interactive conversation task, the effectiveness of the interactive conversation can be enhanced, improving language communication skills and problem-solving abilities.
[0082] Figure 4 is a flow chart of another dialogue interaction method provided by an embodiment of the present disclosure. The technical solution of this embodiment further optimizes the process of simulating the second dialogue object to conduct a dialogue interaction with the first dialogue object on the target dialogue interaction task operation page through the target dialogue interaction model in the aforementioned embodiment on the basis of the technical solution of the aforementioned embodiment. This embodiment can be combined with various optional solutions in one or more of the above embodiments.
[0083] As shown in FIG4 , the conversation interaction method according to the embodiment of the present disclosure may include the following processes S410 , S420 , S430 , and S440 .
[0084] S410: Displaying task prompts for a target interactive task of a first dialogue object. The first dialogue object is a virtual object authorized by a target user, and the task prompts include a task summary and a task target.
[0085] S420: In response to a triggering operation for confirming the initiation of a target conversational interaction task, a target conversational interaction task operation page required by the first conversational partner is loaded and displayed. The target conversational interaction task is associated with the training of at least one language interaction ability, where the language interaction ability includes comprehension and analysis ability and communication and expression ability.
[0086] S430. The target dialogue interaction model is used to simulate the second dialogue partner generating a current dialogue interaction request corresponding to the current dialogue interaction on the target dialogue interaction task operation page. The current dialogue interaction request is generated by the target dialogue interaction model during the current dialogue interaction according to the task summary content corresponding to the target dialogue interaction task, and is a question content that can guide the dialogue response of the first dialogue partner to gradually meet the task goal corresponding to the target dialogue interaction task.
[0087] In some embodiments, the target dialogue interaction model is pre-trained based on a natural language model and is used to guide the first dialogue partner to provide a dialogue response to the task goal corresponding to the target dialogue interaction task according to the task summary content corresponding to the target dialogue interaction task.
[0088] As shown in Figure 2a, the target dialogue interaction model simulates a second dialogue partner. This model simulates the target dialogue interaction task based on the task summary content of the target dialogue interaction task, enabling the second dialogue partner to generate a current dialogue interaction request corresponding to the current dialogue interaction on the target dialogue interaction task operation page. The current dialogue interaction request is generated during the current dialogue interaction by matching the task summary content of the target dialogue interaction task with the task objective. It aims to guide the first dialogue partner's dialogue response to gradually meet the task objective of the target dialogue interaction task.
[0089] Specifically, as shown in Figure 2a, the current dialogue interaction request is a question that guides the first participant's thinking and response toward the target dialogue interaction task. This question can be a specific question about the task objective, task steps or requirements, or task-related information and background knowledge. By generating the current dialogue interaction request, the target dialogue interaction model can better guide the dialogue interaction and ensure that the first participant's response is consistent with the task objective. This helps improve the efficiency and accuracy of the dialogue, enabling both parties to more effectively complete the target dialogue interaction task.
[0090] For example, in a targeted conversational interaction task, the task objective might be to help the user resolve a technical issue. The targeted conversational interaction model can generate a current conversational interaction request based on the task summary, such as "Please describe the specific symptoms of the problem you are experiencing," to guide the first conversationalist to provide more detailed information about the issue. Then, based on the first conversationalist's response, the targeted conversational interaction model can generate subsequent current conversational interaction requests, such as "Based on the symptoms you mentioned, I suggest you try the following steps to resolve the issue...", to guide the target user step by step to resolve the issue and meet the task objective.
[0091] In short, the generation of current dialogue interaction requests is one of the key functions of the target dialogue interaction model. It can ensure that the dialogue interaction task proceeds in the direction of the task goal, thereby improving the efficiency and effectiveness of the dialogue interaction.
[0092] As an optional but non-limiting implementation method, the target dialogue interaction model simulates the second dialogue object to generate a current dialogue interaction request corresponding to the current dialogue interaction on the target dialogue interaction task operation page, including the following steps B1-B2.
[0093] Step B1: When the current dialogue interaction is the first dialogue interaction for the target dialogue interaction task, a reference dialogue interaction request corresponding to the target dialogue interaction task is obtained from a preset storage through the target dialogue interaction model.
[0094] Step B2: Based on the reference dialogue interaction request, the target dialogue interaction model is used to simulate the second dialogue partner to generate a current dialogue interaction request corresponding to the current dialogue interaction on the target dialogue interaction task operation page.
[0095] Referring to Figure 3a, when the current conversational interaction is the first conversational interaction for the target conversational interaction task, the target conversational interaction task has just begun execution. Since the first conversational partner has not yet responded to the conversational interaction, the target conversational interaction model cannot yet generate a new conversational interaction request based on the first conversational partner's response. Therefore, during this first conversational interaction, the target conversational interaction model retrieves a reference conversational interaction request corresponding to the target conversational interaction task from a pre-set storage. In some embodiments, the reference conversational interaction request can be a pre-stored conversational interaction record for the target conversational interaction task, or a standard conversational interaction request pre-set in the task profile and according to the task objective.
[0096] Referring to Figures 3a and 3b, after receiving the reference dialogue interaction request, the target dialogue interaction model simulates the second dialogue partner based on the reference dialogue interaction request and generates a current dialogue interaction request corresponding to the current dialogue interaction on the target dialogue interaction task operation page. This process is similar to the target dialogue interaction model acting as the second dialogue partner, generating a question content suitable for the current dialogue context based on the reference dialogue interaction request and the task goal. When generating the current dialogue interaction request during the first dialogue interaction, the target dialogue interaction model considers the following factors: it generates questions or instructions related to the specific goals and requirements of the target dialogue interaction task; it considers the current dialogue context, including previous dialogue history and user responses, to ensure that the generated request is relevant to the topic and context of the conversation; and it uses natural language processing technology to generate clear and easy-to-understand requests to improve conversation fluency and user comprehension.
[0097] Through these options, the target conversational interaction model generates a current conversational interaction request corresponding to the current conversational interaction, guiding the first conversational partner's conversational response and gradually achieving the target conversational interaction task's objectives. This process is dynamic and adaptive, allowing real-time adjustments based on user responses and needs to provide a personalized conversational experience.
[0098] As another optional but non-limiting implementation, the target dialogue interaction model simulates the second dialogue object to generate a current dialogue interaction request corresponding to the current dialogue interaction on the target dialogue interaction task operation page, including the following steps C1-C2.
[0099] Step C1: When the current dialogue interaction is not the first dialogue interaction for the target dialogue interaction task, reference dialogue interaction information for simulating a dialogue interaction with the first dialogue partner is determined through the target dialogue interaction model. The reference dialogue interaction information includes historical dialogue interaction requests and historical dialogue interaction responses corresponding to historical dialogue interactions for the target dialogue interaction task before the current dialogue interaction.
[0100] Step C2: Based on the reference dialogue interaction information, the target dialogue interaction model is used to simulate the second dialogue partner to generate a current dialogue interaction request corresponding to the current dialogue interaction on the target dialogue interaction task operation page.
[0101] Referring to Figures 3b and 3c, if the current conversational interaction is not the first conversational interaction for the target conversational interaction task, at least one conversational interaction has already occurred for the target conversational interaction task. Since the first conversational partner has already provided a conversational interaction response to the previous conversational interaction request, the target conversational interaction model can now combine the first conversational partner's conversational interaction response to generate a new conversational interaction request. To this end, in non-first conversational interactions, the target conversational interaction model determines reference conversational interaction information for a simulated conversational interaction with the first conversational partner. In some embodiments, the reference conversational interaction information includes historical conversational interaction requests and responses corresponding to previous conversational interactions for the target conversational interaction task prior to the current conversational interaction. By analyzing this reference conversational interaction information, the target conversational interaction model can understand the context of previous conversational interactions, including the first conversational partner's answers, questions, and requests. Because it provides context and background knowledge, it is very helpful in generating the current conversational interaction request for the current conversational interaction.
[0102] As shown in Figures 3b and 3c, based on the reference conversational interaction information, the target conversational interaction model simulates the second conversational partner and generates a current conversational interaction request corresponding to the current conversational interaction on the target conversational interaction task operation page. This process is similar to the model acting as the second conversational partner, generating a question tailored to the current conversational context based on previous conversational history and the task objective. The main difference between this and the first conversational interaction is that non-first interactions consider not only the task summary of the target conversational interaction task but also the first conversational interaction partner's previous conversational interaction responses.
[0103] When the target conversational interaction model generates a current conversational interaction request for a non-first conversational interaction, it considers the current conversational context, including previous conversation history, user responses and questions, and the context of the current conversation. Based on the task summary and conversational context, the target conversational interaction model generates questions for the current conversational interaction request to guide the first participant's conversational response, gradually satisfying the task objective of the target conversational interaction task. To ensure clarity and understanding, the model optimizes the language of the generated questions, ensuring they conform to natural language grammar and expression conventions. Importantly, during the conversation, the content of the current conversational interaction request is adjusted in real time based on the first participant's response. For example, if the first participant's response indicates understanding of the task objective, the model may generate more in-depth questions to further explore the details. Conversely, if the first participant's response indicates confusion about the task objective, the model may generate more basic questions to clarify the concepts.
[0104] Through these options, the target conversational interaction model generates a current conversational interaction request corresponding to the current conversational interaction, guiding the first conversational partner's conversational response and gradually achieving the target conversational interaction task's objectives. This process is dynamic and adaptive, designed to adapt in real time based on user responses and needs, providing a personalized conversational experience.
[0105] S440. Receive a current dialogue interaction response corresponding to the current dialogue interaction generated by the first dialogue partner and display it on the target dialogue interaction task operation page. The current dialogue interaction response is edited by the first dialogue partner according to the language interaction capabilities possessed during the current dialogue interaction, based on the current dialogue interaction request and the task summary content and task objectives corresponding to the target dialogue interaction task.
[0106] Referring to Figures 2a, 3a, 3b, and 3c, when the first dialogue partner authorized by the target user receives a current dialogue interaction request, the target user generates a current dialogue interaction response corresponding to the current dialogue interaction request based on their language interaction capabilities at the time of the current dialogue interaction, the content of the current dialogue interaction request, the task objectives, and their own knowledge and experience. The current dialogue interaction response can be an answer, a suggestion, an action plan, or other form of feedback based on their language interaction capabilities at the time of the current dialogue interaction.
[0107] Referring to Figures 2a, 3a, 3b, and 3c, when the target user authorizes the first conversational partner to generate a response to the current conversational interaction, the target conversational interaction task's task summary and task objectives will be referenced based on the language interaction capabilities possessed during the current conversational interaction. The task summary provides detailed information and requirements regarding the conversational interaction task, while the task objective clearly defines the ultimate purpose of the conversational interaction. Based on the task summary and task objective, the first conversational partner generates a response that is relevant to the conversational task and can move the conversation toward the task objective. The target conversational interaction model displays the current conversational interaction response generated by the first conversational partner on the target conversational interaction task's action page. This allows all participants in the conversational interaction to see the response and continue the conversation or take appropriate actions based on the response.
[0108] In this way, the first conversation partner's response can be shared and discussed as part of the conversation, promoting information exchange and collaboration. The display function of the target conversation interaction model allows all parties to understand each other's views and suggestions in real time, enabling better collaboration and achieving task objectives.
[0109] As an optional but non-limiting implementation, referring to FIG. 2 a , after receiving the current dialogue interaction response corresponding to the current dialogue interaction generated by the first dialogue object, steps D1-D3 are also included.
[0110] Step D1: Detect, using the target dialogue interaction model, whether the current dialogue interaction response corresponding to the current dialogue interaction satisfies the task objective corresponding to the target dialogue interaction task.
[0111] Step D2: If it is detected that the task goal corresponding to the target dialogue interaction task is not met, and the number of dialogue interactions corresponding to the target dialogue interaction task reaches a preset threshold, the target dialogue interaction model is used to simulate the second dialogue partner to generate a next dialogue interaction request corresponding to the next dialogue interaction on the target dialogue interaction task operation page. The next dialogue interaction request is generated by the target dialogue interaction model based on the current dialogue interaction according to the task summary content corresponding to the target dialogue interaction task, and is a question content that can guide the dialogue response of the first dialogue partner to gradually meet the task goal corresponding to the target dialogue interaction task.
[0112] Step D3: Receive the next dialogue interaction response corresponding to the next dialogue interaction generated by the first dialogue object and display it on the target dialogue interaction task operation page. The next dialogue interaction response is edited by the first dialogue object according to the language interaction ability possessed during the next dialogue interaction, based on the next dialogue interaction request and the task summary content and task objectives corresponding to the target dialogue interaction task.
[0113] As an optional but non-limiting implementation, referring to FIG. 2a , after detecting, through the target dialogue interaction model, whether the current dialogue interaction response corresponding to the current dialogue interaction satisfies the task objective corresponding to the target dialogue interaction task, the following steps E1-E2 are also included.
[0114] Step E1: If it is detected that the task goal corresponding to the target dialogue interaction task is met, a task execution result corresponding to the target dialogue interaction task is generated through the target dialogue interaction model.
[0115] Step E2: If it is detected that the task goal corresponding to the target dialogue interaction task is not met and the number of dialogue interactions corresponding to the target dialogue interaction task reaches a preset threshold, a task execution result corresponding to the target dialogue interaction task is generated through the target dialogue interaction model.
[0116] As an optional but non-limiting implementation method, referring to FIG5 , after the target dialogue interaction model generates the task execution result corresponding to the target dialogue interaction task, the following steps are also included: evaluating the task execution result corresponding to the target dialogue interaction task generated by the target dialogue interaction model, and displaying the evaluation result to determine whether to restart the target dialogue interaction task or terminate the target dialogue interaction task.
[0117] Figure 6 shows the correlation between different conversational interaction tasks and the training of at least one language interaction skill. Language interaction skills include comprehension and analysis, as well as communication and expression. The conversational interaction model simulates a second conversational partner engaging in a simulated conversational interaction with the first conversational partner on the conversational interaction task interface. This model is used to implement conversational interactions between different conversational partners. Natural language processing is performed through the model, and conversations with the user are conducted based on the model. This training specifically focuses on practical language communication skills, including empathy, problem-solving, reasoning, conflict management, persuasion and negotiation, and self-presentation.
[0118] The conversational interaction model dynamically adjusts conversational strategies based on the scenario theme, context, and user feedback, flexibly setting challenges during conversations to strengthen users' language proficiency and communication skills. The conversational interaction model systematically evaluates and provides feedback based on the scenario theme and the communication skills demonstrated by the user during the conversation, such as their ability to solve problems, reason, and persuade others. Detailed comments are also provided based on the user's language usage and communication effectiveness, along with guidance and suggestions for further improvement.
[0119] By using the conversational interaction model to create engaging interactive tasks, we not only enhance learning interest and engagement, but also allow learners to effectively hone their language communication skills in simulated real-world situations. Furthermore, through the conversational interaction model's understanding and feedback of user speech, we can fully understand the user's performance during the conversation and evaluate various communication skills, enabling more effective improvement.
[0120] The technical solution of the disclosed embodiment displays task prompt content for a target dialogue interaction task selected by a first dialogue partner, the task prompt content including a task summary and a task objective. In response to a trigger operation confirming the initiation of the target dialogue interaction task, the target dialogue interaction task operation page required by the first dialogue partner is loaded and displayed. The target dialogue interaction task is associated with the training of at least one language interaction ability, including comprehension and analysis abilities and communication and expression abilities. On the target dialogue interaction task operation page, a target dialogue interaction model can be used to simulate a second dialogue partner engaging in a dialogue interaction with the first dialogue partner according to the task summary corresponding to the target dialogue interaction task and the task objective corresponding to the target dialogue interaction task. Natural language processing capabilities are combined with dialogue interaction operations to enhance dialogue interactivity and engagement, allowing for a more immersive experience of the dialogue interaction scenario and a more realistic interaction with the dialogue partner. By continuously engaging in dialogue interaction, a dialogue interaction response that can complete the task objective of the target dialogue interaction task is quickly output, thereby enhancing the dialogue interaction effect and improving language communication and problem-solving abilities to a certain extent.
[0121] Figure 7 is a structural diagram of a conversation interaction device provided in an embodiment of the present disclosure. The technical solution of this embodiment can be applied to situations where natural language processing capabilities are combined with conversation interaction to enhance the conversation interaction effect. The device can be implemented by software and / or hardware and is generally integrated into any electronic device with network communication capabilities, including but not limited to computers, personal digital assistants and other devices.
[0122] As shown in FIG7 , the conversation interaction device of this embodiment may include the following: a first display module 710, a second display module 720, and a conversation interaction module 730. The first display module 710 is configured to display task prompts for a target conversation interaction task for a first conversation partner, the first conversation partner being a virtual object authorized for use by a target user, and the task prompts including a task summary and a task objective. The second display module 720 is configured to load and display a target conversation interaction task operation page required by the first conversation partner in response to a trigger operation for confirming the initiation of the target conversation interaction task. The target conversation interaction task is associated with the training of at least one language interaction ability, including comprehension and analysis abilities and communication and expression abilities. The conversation interaction module 730 is configured to simulate a conversation interaction between the second conversation partner and the first conversation partner on the target conversation interaction task operation page using a target conversation interaction model. The target conversation interaction model is pre-trained based on a natural language model and is configured to guide the first conversation partner to a conversational response toward the task objective of the target conversation interaction task according to the task summary of the target conversation interaction task.
[0123] Based on the technical solution of the above embodiment, optionally, the task prompt content of the target dialogue interaction task of the first dialogue object is displayed, including: creating and displaying a dialogue interaction task selection page for the first dialogue object, wherein a plurality of candidate dialogue interaction tasks are presented on the dialogue interaction task selection page; in response to a selection operation of the target dialogue interaction task on the dialogue interaction task selection page, obtaining task parameters of the target dialogue interaction task from a preset storage; and displaying the task prompt content of the target dialogue interaction task of the first dialogue object according to the task parameters of the target dialogue interaction task.
[0124] Based on the technical solution of the above embodiment, the task prompt content of the target dialogue interaction task optionally includes a first prompt content, a second prompt content, and a third prompt content. The first prompt content is used to indicate the dialogue partner setting and the task flow of the dialogue interaction task. The second prompt content is used to indicate the task summary content and the expected task goal of the dialogue interaction task. The third prompt content is used to prompt the target dialogue interaction model to maintain the task summary content and task goal of the dialogue interaction task according to the dialogue partner setting when simulating the dialogue interaction between the second dialogue partner and the first dialogue partner.
[0125] Based on the technical solution of the above embodiment, optionally, simulating a conversation interaction between the second conversation partner and the first conversation partner on a target conversation interaction task operation page through the target conversation interaction model includes: simulating a current conversation interaction request corresponding to the current conversation interaction on the target conversation interaction task operation page through the target conversation interaction model, wherein the current conversation interaction request is a question generated by the target conversation interaction model according to the task summary content corresponding to the target conversation interaction task during the current conversation interaction, and can guide the conversation response of the first conversation partner to gradually meet the task objective corresponding to the target conversation interaction task; receiving a current conversation interaction response corresponding to the current conversation interaction generated by the first conversation partner and displaying it on the target conversation interaction task operation page, wherein the current conversation interaction response is edited by the first conversation partner according to the language interaction capabilities possessed during the current conversation interaction based on the current conversation interaction request and the task summary content and task objective corresponding to the target conversation interaction task.
[0126] Based on the technical solution of the above embodiment, optionally, the target dialogue interaction model is used to simulate the second dialogue object to generate a current dialogue interaction request corresponding to the current dialogue interaction on the target dialogue interaction task operation page, including: when the current dialogue interaction is the first dialogue interaction for the target dialogue interaction task, the target dialogue interaction model is used to obtain a reference dialogue interaction request corresponding to the target dialogue interaction task from a preset storage; based on the reference dialogue interaction request, the target dialogue interaction model is used to simulate the second dialogue object to generate a current dialogue interaction request corresponding to the current dialogue interaction on the target dialogue interaction task operation page.
[0127] Based on the technical solution of the above embodiment, optionally, the target dialogue interaction model is used to simulate the second dialogue object to generate a current dialogue interaction request corresponding to the current dialogue interaction on the target dialogue interaction task operation page, including: when the current dialogue interaction is a non-first dialogue interaction for the target dialogue interaction task, the target dialogue interaction model is used to determine reference dialogue interaction information when simulating a dialogue interaction with the first dialogue object, the reference dialogue interaction information including historical dialogue interaction requests and historical dialogue interaction responses corresponding to historical dialogue interactions for the target dialogue interaction task before the current dialogue interaction; based on the reference dialogue interaction information, the target dialogue interaction model is used to simulate the second dialogue object to generate a current dialogue interaction request corresponding to the current dialogue interaction on the target dialogue interaction task operation page.
[0128] Based on the technical solution of the above embodiment, optionally, after receiving the current dialogue interaction response corresponding to the current dialogue interaction generated by the first dialogue partner, the method further includes: detecting, using a target dialogue interaction model, whether the current dialogue interaction response corresponding to the current dialogue interaction satisfies the task objective corresponding to the target dialogue interaction task; if it is detected that the task objective corresponding to the target dialogue interaction task is not satisfied, and the number of dialogue interactions corresponding to the target dialogue interaction task reaches a preset threshold, simulating, using the target dialogue interaction model, the second dialogue partner to generate, on the target dialogue interaction task operation page, a next dialogue interaction request corresponding to the next dialogue interaction, wherein the next dialogue interaction request is a question generated by the target dialogue interaction model based on the current dialogue interaction and according to the task summary content corresponding to the target dialogue interaction task, and can guide the dialogue response of the first dialogue partner to gradually meet the task objective corresponding to the target dialogue interaction task; and receiving the next dialogue interaction response corresponding to the next dialogue interaction generated by the first dialogue partner and displaying it on the target dialogue interaction task operation page, wherein the next dialogue interaction response is edited by the first dialogue partner according to the language interaction capabilities possessed in the next dialogue interaction based on the next dialogue interaction request, the task summary content corresponding to the target dialogue interaction task, and the task objective.
[0129] On the basis of the technical solution of the above embodiment, optionally, after detecting whether the current dialogue interaction response corresponding to the current dialogue interaction meets the task goal corresponding to the target dialogue interaction task through the target dialogue interaction model, it also includes: if it is detected that the task goal corresponding to the target dialogue interaction task is met, then the task execution result corresponding to the target dialogue interaction task is generated through the target dialogue interaction model; or, if it is detected that the task goal corresponding to the target dialogue interaction task is not met, and the number of dialogue interactions corresponding to the target dialogue interaction task reaches a preset number threshold, then the task execution result corresponding to the target dialogue interaction task is generated through the target dialogue interaction model.
[0130] The technical solution of the disclosed embodiment displays a task prompt for a target interactive conversation task selected by a first conversation partner, including a task summary and a task objective. In response to a trigger operation confirming the initiation of the target interactive conversation task, the target interactive conversation task operation page required by the first conversation partner is loaded and displayed. The target interactive conversation task is associated with the training of at least one language interaction ability, including comprehension and analysis skills and communication and expression skills. On the target interactive conversation task operation page, a target interactive conversation model is used to simulate a second conversation partner engaging in a simulated conversation with the first conversation partner according to the task summary corresponding to the target interactive conversation task and the task objective corresponding to the target interactive conversation task. This combines natural language processing capabilities with interactive conversation operations, enhancing conversational interactivity and engagement, allowing for a more immersive experience of the interactive conversation context and a more realistic interaction with the conversation partner. By continuously engaging in interactive conversations and rapidly outputting interactive responses that achieve the task objective of the target interactive conversation task, the effectiveness of the interactive conversation can be enhanced, improving language communication skills and problem-solving abilities.
[0131] The dialogue interaction device provided in the embodiments of the present disclosure can execute the dialogue interaction method provided in any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects for executing the dialogue interaction method.
[0132] It is worth noting that the various units and modules included in the above-mentioned device are only divided according to functional logic, but are not limited to the above-mentioned division, as long as they can achieve the corresponding functions. In addition, the specific names of the functional units are only for the convenience of distinguishing each other and are not used to limit the scope of protection of the embodiments of the present disclosure.
[0133] Reference is now made to FIG8 , which illustrates a schematic diagram of the structure of an electronic device 800 suitable for implementing embodiments of the present disclosure. Terminal devices in embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. The electronic device illustrated in FIG8 is merely an example and should not limit the functionality or scope of use of embodiments of the present disclosure.
[0134] As shown in Figure 8, electronic device 800 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 801, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 802 or a program loaded from a storage device 806 into a random access memory (RAM) 803. Various programs and data required for the operation of electronic device 800 are also stored in RAM 803. Processing device 801, ROM 802, and RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to bus 804.
[0135] Typically, the following devices may be connected to the I / O interface 805: an input device 806 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 807 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 806 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 809. The communication device 809 may allow the electronic device 800 to communicate with other devices wirelessly or by wire to exchange data. Although FIG8 shows the electronic device 800 with various devices, it should be understood that not all of the devices shown are required to be implemented or present. More or fewer devices may be implemented or present instead.
[0136] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0137] The electronic device provided by the embodiment of the present disclosure and the conversation interaction method provided by the above embodiment belong to the same inventive concept. For technical details not fully described in this embodiment, please refer to the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.
[0138] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the conversation interaction method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 809, or installed from the storage device 806, or installed from the ROM 802. When the computer program is executed by the processing device 801, the above-mentioned functions defined in the conversation interaction method of the embodiment of the present disclosure are performed.
[0139] An embodiment of the present disclosure provides a computer storage medium having a computer program stored thereon, which, when executed by a processor, implements the dialogue interaction method provided in the above embodiment.
[0140] It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, device, or component. In the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination thereof.
[0141] In some embodiments, the client and server can communicate using any currently known or later developed network protocol, such as HTTP (HyperText Transfer Protocol), and can be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or later developed network.
[0142] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0143] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: displays the task prompt content of the target dialogue interaction task of the first dialogue object, where the first dialogue object is a virtual object authorized for use by the target user; loads and displays the target dialogue interaction task operation page required for the first dialogue object in response to a trigger operation for confirming the start of the target dialogue interaction task; simulates the second dialogue object to simulate a dialogue interaction with the first dialogue object on the target dialogue interaction task operation page through a target dialogue interaction model, where the target dialogue interaction model is pre-trained based on a natural language model and is used to guide the first dialogue object to conduct a dialogue response to the task target corresponding to the target dialogue interaction task according to the task summary content corresponding to the target dialogue interaction task.
[0144] Alternatively, the computer-readable medium carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device executes the dialogue interaction method described in any one of the above embodiments.
[0145] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including, but not limited to, object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on the remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0146] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the module, program segment, or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0147] The units involved in the embodiments described in this disclosure may be implemented in software or hardware. In some embodiments, the name of a unit does not necessarily limit the unit itself. For example, the first acquisition unit may also be described as a "unit for acquiring at least two Internet Protocol addresses."
[0148] The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, and without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.
[0149] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in conjunction with an instruction execution system, device or equipment. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0150] The above description is merely a preferred embodiment of the present disclosure and an illustration of the technical principles employed. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, but also includes other technical solutions formed by any combination of the above-mentioned technical features or their equivalents without departing from the above-mentioned disclosed concepts. For example, a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features with similar functions disclosed in this disclosure.
[0151] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details have been included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0152] Although the subject matter has been described in language specific to structural features and / or methodological logical acts, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims.
Claims
1. A dialogue interaction method, the method comprising: Displaying the task prompt content of the target dialogue interaction task of the first dialogue object, where the first dialogue object is a virtual object authorized by the target user to use, and the task prompt content includes a task summary content and a task objective; In response to a trigger operation for confirming the start of the target dialogue interaction task, loading and displaying the target dialogue interaction task operation page required by the first dialogue object, where the target dialogue interaction task is associated with the training of at least one language interaction ability, and the language interaction ability includes an understanding and analysis ability and a communication and expression ability; Simulating, by the target dialogue interaction model, the second dialogue object to conduct a dialogue interaction with the first dialogue object on the target dialogue interaction task operation page, where the target dialogue interaction model is pre-trained based on a natural language model and is used to guide the first dialogue object to respond to the dialogue according to the task summary content corresponding to the target dialogue interaction task towards the task objective corresponding to the target dialogue interaction task.
2. The method according to claim 1, wherein, Displaying the task prompt content of the target dialogue interaction task of the first dialogue object includes: Creating and displaying a dialogue interaction task selection page for the first dialogue object, where multiple candidate dialogue interaction tasks are presented on the dialogue interaction task selection page; In response to a selection operation of the target dialogue interaction task on the dialogue interaction task selection page, obtaining the task parameters of the target dialogue interaction task from a preset storage; According to the task parameters of the target dialogue interaction task, displaying the task prompt content of the target dialogue interaction task of the first dialogue object.
3. The method according to claim 1 or 2, wherein The task prompt content of the target dialogue interaction task includes a first prompt content, a second prompt content, and a third prompt content. The first prompt content is used to indicate the dialogue object setting of the dialogue interaction task and the task process of the dialogue interaction task. The second prompt content is used to indicate the task summary content of the dialogue interaction task and the expected task objective to be achieved. The third prompt content is used to prompt the target dialogue interaction model to maintain the task summary content and task objective of the dialogue interaction task according to the dialogue object setting when simulating the dialogue interaction between the second dialogue object and the first dialogue object.
4. The method according to claim 1, wherein, Simulating, by the target dialogue interaction model, the second dialogue object to conduct a dialogue interaction with the first dialogue object on the target dialogue interaction task operation page includes: Generating, by the target dialogue interaction model, a current dialogue interaction request corresponding to the current dialogue interaction on the target dialogue interaction task operation page, where the current dialogue interaction request is a question content generated by the target dialogue interaction model according to the task summary content corresponding to the target dialogue interaction task during the current dialogue interaction and can guide the dialogue response of the first dialogue object to gradually meet the task objective corresponding to the target dialogue interaction task. Receive the current conversation interaction response corresponding to the current conversation interaction generated by the first conversation object and display it on the target conversation interaction task operation page. The current conversation interaction response is edited by the first conversation object based on the current conversation interaction request, the task summary content, and the task objective of the target conversation interaction task according to the language interaction ability possessed during the current conversation interaction.
5. The method according to claim 4, wherein Simulate, through the target conversation interaction model, the second conversation object to generate the current conversation interaction request corresponding to the current conversation interaction on the target conversation interaction task operation page, including: When the current conversation interaction is the first conversation interaction for the target conversation interaction task, obtain, through the target conversation interaction model, the reference conversation interaction request corresponding to the target conversation interaction task from the preset storage; Based on the reference conversation interaction request, simulate, through the target conversation interaction model, the second conversation object to generate the current conversation interaction request corresponding to the current conversation interaction on the target conversation interaction task operation page.
6. The method according to claim 4, wherein, Simulate, through the target conversation interaction model, the second conversation object to generate the current conversation interaction request corresponding to the current conversation interaction on the target conversation interaction task operation page, including: When the current conversation interaction is a non-first conversation interaction for the target conversation interaction task, determine, through the target conversation interaction model, the reference conversation interaction information for simulating the conversation interaction with the first conversation object. The reference conversation interaction information includes the historical conversation interaction request and the historical conversation interaction response corresponding to the historical conversation interaction before the current conversation interaction for the target conversation interaction task; Based on the reference conversation interaction information, simulate, through the target conversation interaction model, the second conversation object to generate the current conversation interaction request corresponding to the current conversation interaction on the target conversation interaction task operation page.
7. The method according to claim 4, wherein After receiving the current conversation interaction response corresponding to the current conversation interaction generated by the first conversation object, it further includes: Detect, through the target conversation interaction model, whether the current conversation interaction response corresponding to the current conversation interaction meets the task objective of the target conversation interaction task; If it is detected that the task objective of the target conversation interaction task is not met and the number of conversation interactions corresponding to the target conversation interaction task reaches the preset number threshold, then simulate, through the target conversation interaction model, the second conversation object to generate the next conversation interaction request corresponding to the next conversation interaction on the target conversation interaction task operation page. The next conversation interaction request is the question content that can guide the conversation response of the first conversation object to gradually meet the task objective of the target conversation interaction task generated by the target conversation interaction model according to the task summary content of the target conversation interaction task based on the current conversation interaction; Receive the next conversation interaction response corresponding to the next conversation interaction generated by the first conversation object and display it on the target conversation interaction task operation page. The next conversation interaction response is edited by the first conversation object based on the next conversation interaction request, the task summary content, and the task objective of the target conversation interaction task according to the language interaction ability possessed during the next conversation interaction.
8. The method according to claim 7, wherein After detecting whether the current dialogue interaction response corresponding to the current dialogue interaction meets the task objective corresponding to the target dialogue interaction task, the following steps are further included: If it is detected that the task objective corresponding to the target dialogue interaction task is met, generate a task execution result corresponding to the target dialogue interaction task through the target dialogue interaction model; or, If it is detected that the task objective corresponding to the target dialogue interaction task is not met and the number of dialogue interactions corresponding to the target dialogue interaction task reaches a preset number threshold, generate a task execution result corresponding to the target dialogue interaction task through the target dialogue interaction model.
9. A dialogue interaction device, the device includes: A first display module, configured to display task prompt content of a target dialogue interaction task of a first dialogue object, where the first dialogue object is a virtual object authorized by the target user to be used, and the task prompt content includes a task summary content and a task objective; A second display module, configured to load and display an operation page of a target dialogue interaction task required by the first dialogue object in response to a trigger operation for confirming the start of the target dialogue interaction task, where the target dialogue interaction task is associated with the training of at least one language interaction ability, and the language interaction ability includes an understanding and analysis ability and a communication and expression ability; A dialogue interaction module, configured to simulate a second dialogue object to have a dialogue interaction with the first dialogue object on the target dialogue interaction task operation page through the target dialogue interaction model, and the target dialogue interaction The model is pre-trained based on a natural language model and is used to guide the first dialogue object to respond to the dialogue towards the task objective corresponding to the target dialogue interaction task according to the task summary content corresponding to the target dialogue interaction task.
10. An electronic device, the electronic device includes: At least one processor; And A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and when the computer program is executed by the at least one processor, the at least one processor is enabled to execute the dialogue interaction method according to any one of claims 1-8.
11. A computer-readable medium, the computer-readable medium stores computer instructions, and the computer instructions are used to cause a processor to implement the dialogue interaction method according to any one of claims 1-8 when executed.
Citation Information
Patent Citations
Human-computer interaction method and device, electronic equipment and medium
CN117033587A
Session method, system, device and equipment for human-computer interaction and storage medium
CN117196038A
Dialogue interaction method and device, electronic equipment and medium
CN118092747A
Digital conversations
US11153244B1