Information interaction method and device, equipment and storage medium

By receiving input messages in the session interface of information interaction and providing response messages generated by different virtual objects, the problem of inefficient information acquisition in the prior art is solved, and higher quality and efficient information acquisition is achieved.

CN119536885APending Publication Date: 2025-02-28BEIJING ZITIAO NETWORK TECH CO LTD

Patent Information

Application Number
CN202411645629.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-15
Publication Date
2025-02-28

Smart Images

  • Figure CN119536885A_ABST
    Figure CN119536885A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to an information interaction method and device, equipment and a storage medium. The method provided herein includes: receiving a first input message in a first session interface of a target session with a first virtual object; in the session interface, providing a first group of response messages, the first group of response messages comprising a first response message generated by a first virtual object and a second response message generated by a second virtual object, the second virtual object being independent of the target session; and presenting reference information associated with the second virtual object in association with the second response message. In this way, the messages generated by the multiple virtual objects can be provided, and therefore the information obtaining efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Example embodiments of the present disclosure generally relate to the field of computers, and more particularly, to methods, devices, apparatuses, and computer-readable storage media for information interaction. Background Art

[0002] In recent years, with the rapid development of computer technology, some virtual objects can help users process messages in a timely manner and improve message processing efficiency. For example, virtual objects can autonomously generate reply content for received messages, such as to support the generation of response messages when the user is not online, or to process a large number of received messages in a timely manner. Summary of the invention

[0003] In a first aspect of the present disclosure, a method for information interaction is provided. The method comprises: receiving a first input message in a first conversation interface of a target conversation with a first virtual object; providing a first group of response messages in the conversation interface, the first group of messages comprising a first response message generated by the first virtual object and a second response message generated by a second virtual object, the second virtual object being independent of the target conversation; and presenting reference information associated with the second virtual object in association with the second response message.

[0004] In a second aspect of the present disclosure, a device for information interaction is provided. The device includes: a receiving module configured to receive a first input message in a first conversation interface of a target conversation with a first virtual object; a providing module configured to provide a first group of response messages in the conversation interface, the first group of messages including a first response message generated by the first virtual object and a second response message generated by a second virtual object, the second virtual object being independent of the target conversation; and a presenting module configured to present reference information associated with the second virtual object in association with the second response message.

[0005] In a third aspect of the present disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory, the at least one memory is coupled to the at least one processing unit and stores instructions for execution by the at least one processing unit. When the instructions are executed by the at least one processing unit, the device executes the method of the first aspect.

[0006] In a fourth aspect of the present disclosure, a computer-readable storage medium is provided, wherein a computer program is stored on the computer-readable storage medium, and the computer program can be executed by a processor to implement the method of the first aspect.

[0007] It should be understood that the contents described in this content section are not intended to limit the key features 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 easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:

[0009] Figure 1 A schematic diagram showing an example environment in which embodiments according to the present disclosure may be implemented;

[0010] FIG. 2A to FIG. 2D shows an example interface according to some embodiments of the present disclosure;

[0011] Figure 3 A schematic diagram showing an example process of generating a response message according to some embodiments of the present disclosure;

[0012] Figure 4 A flowchart showing an example process of information interaction according to some embodiments of the present disclosure;

[0013] Figure 5 A schematic structural block diagram showing an example device for information interaction according to some embodiments of the present disclosure; and

[0014] Figure 6 A block diagram of an electronic device capable of implementing various embodiments of the present disclosure is shown. DETAILED DESCRIPTION

[0015] Embodiments of the present disclosure will be described in more detail below 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 being limited to the embodiments set forth herein. On the contrary, 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 only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0016] It should be noted that the titles of any sections / subsections provided herein are not restrictive. Various embodiments are described throughout this article, and any type of embodiment may be included under any section / subsection. In addition, the embodiments described in any section / subsection may be combined in any manner with any other embodiments described in the same section / subsection and / or different sections / subsections.

[0017] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may be included below. The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may be included below.

[0018] The embodiments of the present disclosure may involve user data, data acquisition and / or use, etc. These aspects are subject to the corresponding laws, regulations and relevant provisions. In the embodiments of the present disclosure, all data collection, acquisition, processing, processing, forwarding, use, etc. are carried out on the premise that the user knows and confirms. Accordingly, when implementing each embodiment of the present disclosure, the type, scope of use, usage scenario, etc. of the data or information that may be involved should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with the relevant laws and regulations. The specific notification and / or authorization method can vary according to the actual situation and application scenario, and the scope of the present disclosure is not limited in this respect.

[0019] In this specification and the embodiments, if personal information processing is involved, it will be processed on the premise of having a legal basis (such as obtaining the consent of the subject of personal information, or it is necessary to perform a contract, etc.), and will only be processed within the scope of regulations or agreements. If a user refuses to process personal information other than the necessary information for basic functions, it will not affect the user's use of basic functions.

[0020] Traditionally, users can interact with virtual objects, for example, through dialogue, to obtain response messages generated by the virtual objects. Generally speaking, depending on the configuration and training data of the virtual objects, virtual objects have better processing capabilities in some specific areas. For example, some virtual objects may be trained to better handle mathematical problems, which may be difficult to provide users with high-quality translation content.

[0021] The embodiment of the present disclosure proposes a scheme for information interaction. According to the scheme, a first input message can be received in a first conversation interface of a target conversation with a first virtual object. Further, a first group of response messages can be provided in the conversation interface, the first group of messages including a first response message generated by the first virtual object and a second response message generated by a second virtual object, the second virtual object being independent of the target conversation. Additionally, reference information associated with the second virtual object can be presented in association with the second response message.

[0022] In this way, the embodiments of the present disclosure can provide messages generated by different virtual objects in a conversation with a single virtual object, thereby helping to obtain higher quality content and improving the efficiency of information acquisition.

[0023] Various example implementations of the solution are described in detail below in conjunction with the accompanying drawings.

[0024] Example Environment

[0025] Figure 1 1 is a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. Figure 1 As shown, example environment 100 may include electronic device 110 .

[0026] In this example environment 100, the electronic device 110 may run an application 120 that supports interface interaction. The application 120 may be any appropriate type of application for interface interaction, examples of which may include, but are not limited to, search applications, video applications, social applications, or other appropriate applications. The user 140 may interact with the application 120 via the electronic device 110 and / or its attached devices.

[0027] exist Figure 1 In the environment 100, if the application 120 is in an active state, the electronic device 110 can present an interface 150 for supporting interface interaction through the application 120.

[0028] In some embodiments, the electronic device 110 communicates with the server 130 to provide services for the application 120. The electronic device 110 can be any type of mobile terminal, fixed terminal or portable terminal, including a mobile phone, a desktop computer, a laptop computer, a notebook computer, a netbook computer, a tablet computer, a media computer, a multimedia tablet, a handheld computer, a portable game terminal, a VR / AR device, a personal communication system (PCS) device, a personal navigation device, a personal digital assistant (PDA), an audio / video player, a digital camera / camcorder, a positioning device, a television receiver, a radio receiver, an e-book device, a game device, or any combination of the foregoing, including accessories and peripherals of these devices or any combination thereof. In some embodiments, the electronic device 110 can also support any type of interface for the user (such as a "wearable" circuit, etc.).

[0029] The server 130 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content distribution networks, and big data and artificial intelligence platforms. The server 130 may include, for example, a computing system / server, such as a mainframe, an edge computing node, a computing device in a cloud environment, etc. The server 130 may provide background services for the application 120 that supports content presentation in the electronic device 110.

[0030] A communication connection may be established between the server 130 and the electronic device 110. The communication connection may be established in a wired manner or a wireless manner. The communication connection may include, but is not limited to, a Bluetooth connection, a mobile network connection, a Universal Serial Bus (USB) connection, a Wireless Fidelity (WiFi) connection, etc., and the embodiments of the present disclosure are not limited in this respect. In the embodiments of the present disclosure, the server 130 and the electronic device 110 may implement signaling interaction through the communication connection between the two.

[0031] It should be understood that the structure and function of the various elements in the environment 100 are described for exemplary purposes only and do not imply any limitation on the scope of the present disclosure.

[0032] Some example embodiments of the present disclosure will be described below with continued reference to the accompanying drawings.

[0033] Example Interaction

[0034] FIG. 2A to FIG. 2D 200A to 200D according to some embodiments of the present disclosure. The interfaces 200A to 200D may be composed of Figure 1 The electronic device 110 is provided as shown.

[0035] like Figure 2A As shown, the interface 200A may be a conversational interface associated with a virtual object A. In some scenarios, such a virtual object A may correspond to an appropriate user associated with the function 140, which may be created based on a configuration operation of the user, for example.

[0036] It should be understood that, on the one hand, a virtual object may have a virtual image for interaction. On the other hand, a virtual object may also utilize an appropriate model to drive its interactive behavior, and such a model may include any appropriate machine learning model, for example, a generative model. In the present disclosure, various interactive processes and / or generative operations performed by a virtual object may be actually performed using an appropriate model corresponding to the virtual object.

[0037] like Figure 2A As shown, the conversation corresponding to the interface 200A may be a single chat interface between the current user and the virtual object, or may be a group chat interface in which the participants include the current user and the virtual object.

[0038] In some embodiments, the electronic device 110 may receive a first input message 210 sent by the user via the input control 205. It should be understood that such a first message may have any appropriate form, examples of which may include but are not limited to: text messages, emoticon messages, voice messages, video messages, picture messages, or combinations thereof, etc. As an example, the first input message 210 may include the text "What are some recommended books?".

[0039] like Figure 2A As shown, the electronic device 110 may provide a response based on the first group of response messages, for example, the response message 215 , the response message 220 , the response message 225 , and the response message 230 in the conversation interface 200A.

[0040] In some embodiments, the response message 215 and the response message 220 may be generated by the virtual object A based on the received first input message 210. As an example, the response message 215 and / or the response message 220 may be generated by a target model corresponding to the virtual object A.

[0041] As an example, virtual object A may process the first input message 210 based on configuration information (such as system prompt words, knowledge base, etc.) to generate a response message 215. As an example, the response message 215 may be “Book A, Book B are both good choices!”

[0042] In some embodiments, the response message 225 and the response message 230 may be generated by other virtual objects different from the virtual object A. As an example, the response message 225 may be generated by the virtual object B based on the first input message 210, and the response message 230 may be generated by the virtual object C based on the first input message 210. The specific process of determining the virtual object B and the virtual object C will be described below. Figure 3 Description, no detailed description is given here.

[0043] As an example, virtual object B may process the first input message 210 based on configuration information (such as system prompt words, knowledge base, etc.) to generate a response message 225. As an example, the response message 225 may be “I think Book C and Book D are good!”

[0044] As an example, the virtual object C may process the first input message 210 based on configuration information (such as system prompt words, knowledge base, etc.) to generate a response message 230. As an example, the response message 230 may be “You can try Book E!”

[0045] In some embodiments, virtual object B and virtual object C may be independent of the current session. For example, virtual object B and virtual object C are not participants in the current session, and / or virtual object B and virtual object C are not added to the session by the user of the current session.

[0046] As an example, in a single chat scenario where the current session is between a user and virtual object A, virtual objects other than virtual object A can be understood as being independent of the current session. As an example, in a group chat scenario where the current session is between a user and virtual object A, virtual objects that are not participants in the group chat can be understood as being independent of the current session.

[0047] In some embodiments, in order to facilitate the user to perceive that the response message 225 and / or the response message 230 are from other virtual objects, the electronic device 110 may also present reference information 228 associated with the virtual object B in association with the response message 225. Alternatively, the electronic device 110 may also present reference information 232 associated with the virtual object C in association with the response message 230.

[0048] As an example, the reference information 228 or the reference information 232 may include identification information of the virtual object B or the virtual object C, such as a text identification or an image identification.

[0049] Additionally, the response message 220 generated by the virtual object A may also include, for example, a content portion associated with the second response message. For example, the response message 220 may include “Virtual object B and virtual object C also have his recommendation!”.

[0050] In this way, the embodiments of the present disclosure can provide messages generated by different virtual objects in a conversation with a single virtual object, thereby helping to obtain higher quality content and improving the efficiency of information acquisition. Figure 2A Taking the scenario of as an example, users can obtain recommendations about books from different virtual objects, thereby improving the comprehensiveness of information acquisition.

[0051] Furthermore, the electronic device 110 may also receive the user's selection of the response message 225, and may present the following: Figure 2B The conversation interface 200B shown in FIG. 200B may correspond to the conversation between the user and the virtual object B.

[0052] In some embodiments, the electronic device 110 may present one or more related messages in the conversation interface 200A in the conversation interface 200B. For example, the electronic device 110 may present the first input message 210 in the conversation interface 200B, and may present the response message 225 generated by the virtual object B.

[0053] In some embodiments, in order to facilitate the user to perceive that the first input message 210 comes from other conversations, the electronic device 110 may further display a prompt element 238 associated with the first input message 210 in the conversation interface 200B. As an example, the prompt element 238 may indicate that the first input message 210 comes from a conversation with another virtual object.

[0054] Furthermore, the electronic device 110 may also receive the second input message 235 via the input control 245 in the conversation interface 200B, for example. Furthermore, the electronic device 110 may provide a response message 240 in the conversation interface 200B.

[0055] In some embodiments, the second virtual object may generate a response message 240 based only on the second input message 235. Alternatively, the second virtual object may also generate a response message 240 based on the second input message and context information. In some embodiments, the context information may be determined based on the first input message 210 and / or the response message 225 in the conversation, for example.

[0056] In this way, the embodiments of the present disclosure can maintain the continuity of context during the process of switching to a conversation with other virtual entities, and support users to initiate multiple rounds of conversations, thereby improving the efficiency of information interaction.

[0057] In some embodiments, Figure 2C As shown, the electronic device 110 may also support multiple rounds of dialogue interaction in a conversation with the virtual object A. As an example, the electronic device 110 may obtain a third input message 250 via the input control 205. For example, the third input message 250 may be "recommend some music to listen to while reading a book".

[0058] Furthermore, the electronic device 110 may provide a second group of response messages in the conversation interface 200C. For example, the second group of response messages may include a response message 255 , a response message 260 , a response message 265 , and a response message 270 .

[0059] In some embodiments, the response message 255 and the response message 260 may be generated by the virtual object A based on the received third input message 250. As an example, the response message 255 and / or the response message 260 may be generated by a target model corresponding to the virtual object A.

[0060] In some embodiments, virtual object A may also generate response message 255 and / or response message 260 based on context information associated with the current session. In some embodiments, such context information may include the first input message 210 and the response message 215 and / or response message 220 generated by virtual object A as mentioned above.

[0061] In some embodiments, historical response messages generated by other virtual objects may also be provided to determine context information. For example, virtual object A may also generate response message 255 and / or response message 260 based on response message 225 and / or response message 230.

[0062] As an example, the response message 255 may be “Song A, you can try it!”

[0063] In some embodiments, response message 265 and response message 270 may be generated by other virtual objects different from virtual object A. As an example, response message 265 may be generated by virtual object B based on second input message 250, and response message 270 may be generated by virtual object D based on second input message 250.

[0064] In some embodiments, the generation of response message 265 or response message 270 may also be based on context information in the current session. In some embodiments, when a preset condition is met, electronic device 110 may trigger virtual object B or virtual object D to generate a corresponding response message based on the context information in the current session.

[0065] In some embodiments, when multiple rounds of conversations involve using the same virtual object to provide response messages, historical messages corresponding to the same virtual object can be provided as context information. For example, virtual object B can also generate response message 265 based on first input message 210 and / or response message 225 historically generated by virtual object B. As an example, response message 265 can include "I think "Book C" and song B are a perfect match!"

[0066] In some embodiments, when the correlation between input messages of multiple rounds of dialogue is higher than a threshold, one or more historical messages in the conversation may be provided as context information. For example, when it is determined that the correlation between the first input message 210 and the third input message 250 is greater than a threshold, the first input message 210 and / or the response message 225 historically generated by the virtual object B is provided to the virtual object B to generate a response message 265.

[0067] In some embodiments, other virtual objects called for different input messages may be independently determined based on each round of input messages. Figure 2A In the example of , virtual object B and virtual object C may be determined from the virtual object set based on the first input message 210. Figure 2C In the example of , virtual object B and virtual object D may be determined from the virtual object set based on the third input message 250 , and it may not take into account whether virtual object B or virtual object C was called in the previous round.

[0068] In some embodiments, in a multi-round dialogue scenario, the embodiments of the present disclosure may also determine the virtual object called by the current round of dialogue based on the virtual object called by the previous round of dialogue. For example, when receiving the third input message 250, the embodiments of the present disclosure may first determine whether virtual object B or virtual object C is suitable for processing the third input message 250. When it is determined that virtual object B is suitable for processing the third input message 250, virtual object B may be called to generate a response message to the third input message 250.

[0069] In some other embodiments, during the process of virtual object D generating response message 270, one or more response messages in the historical dialogue rounds may be provided to virtual object D as context information, regardless of whether virtual object D has been called before. For example, virtual object D may generate response message 270 for third input message 250 based on response message 225 or response message 230. As an example, response message 270 may be “Song C and Song D are very suitable for listening while reading!”

[0070] In some embodiments, Figure 2D As shown, in the process where the electronic device 110 provides response messages generated by other virtual objects, the electronic device 110 may, for example, serially provide multiple response messages generated by the virtual objects based on the first input message 210. For example, the electronic device 110 may first stream-output the response message 225 generated by the virtual object B, and then stream-output the response message 230 generated by the virtual object C.

[0071] Alternatively, the electronic device 110 may also provide multiple response messages generated by multiple virtual objects based on the first input message in parallel. For example, the electronic device 110 may stream-output the response message 225 generated by the virtual object B and the response message 230 generated by the virtual object C in parallel in the conversation interface.

[0072] In some embodiments, the electronic device 110 may also receive an appropriate type of operation for a response message generated by other virtual objects. For example, the electronic device 110 may receive a user's feedback operation for a response message 225 generated by virtual object B and / or a response message 230 generated by virtual object C.

[0073] Alternatively, the electronic device 110 may also receive the user's selection of a response message 225 generated by the virtual object B and / or a response message 230 generated by the virtual object C, and may share it in other sessions.

[0074] The following will further refer to Figure 3 To describe an example process of generating a response message. Figure 3 A schematic diagram of an example process 300 for generating a response message according to some embodiments of the present disclosure is shown.

[0075] like Figure 3 As shown, in response to the main virtual object 310 (eg, FIG. 2A to FIG. 2D In the example of FIG. 3 , an input message is received in a conversation of a virtual object A), and the input message and context information (e.g., historical context associated with the conversation) 315 may be provided to the main virtual object 310. The main virtual object 310 may generate corresponding response content 315 based on its configuration information (e.g., system prompt words, knowledge base, etc.).

[0076] Additionally, the input message and context information 315 may also be provided to the virtual object proxy 320. In some embodiments, the virtual object proxy 320 may determine, based on the input message and context information 315, whether to call other virtual objects to process the input message.

[0077] For example, the virtual object proxy 320 may determine whether to call other virtual objects based on the degree of matching between the input message and the main virtual object 310. Further, in the case of determining to call other virtual objects, the virtual object proxy 320 may determine the relevance of the input message to multiple candidate virtual objects based on the input message and the context information 315. As an example, such candidate virtual objects may include any appropriate virtual objects authorized for use by their publisher or management party.

[0078] Further, the virtual object agent 320 can determine one or more other virtual objects 330 different from the main virtual object from the plurality of candidate virtual objects based on the determined correlation. Further, the input message and context information 315 can be provided to the one or more other virtual objects 330 to generate corresponding response messages 335.

[0079] In some embodiments, in order to ensure the quality of the called virtual object, the virtual object agent 320 may first determine a group of candidate virtual objects from a plurality of candidate virtual objects, wherein the correlation between the input message and the group of candidate virtual objects is higher than a threshold.

[0080] Further, the virtual object agent 320 may, for example, further determine one or more other virtual objects 330 from a group of candidate virtual objects based on evaluation information 325 associated with the group of candidate virtual objects. As an example, the virtual object agent 320 may sort the group of candidate virtual objects based on the evaluation information 325, and may select a predetermined number of virtual objects that are ranked high. In some embodiments, such evaluation information 325 may, for example, indicate the field that the virtual object is good at processing, the RAG (Retrieval-augmented Generation) score of the virtual object, etc.

[0081] As an example, the number of one or more other virtual objects 330 determined by the virtual object proxy 320 is less than a preset number.

[0082] In this way, the embodiments of the present disclosure are able to call other virtual objects that are more closely matched to the input message to provide corresponding response messages, thereby improving the quality of the generated response messages.

[0083] Example Process

[0084] Figure 4 FIG. 4 is a flowchart of an example information interaction process 400 according to some embodiments of the present disclosure. The process 400 may be implemented at the electronic device 110. Figure 1 Process 400 is described.

[0085] like Figure 4 As shown, in box 410, the electronic device 110 receives a first input message in a first conversation interface of a target conversation with a first virtual object;

[0086] In box 420, the electronic device 110 provides a first group of response messages in the conversation interface, the first group of messages including a first response message generated by a first virtual object and a second response message generated by a second virtual object, and the second virtual object is independent of the target conversation.

[0087] In block 430 , the electronic device 110 presents reference information associated with the second virtual object in association with the second response message.

[0088] In some embodiments, the process 400 further includes: in response to selection of the second response message, presenting a second conversation interface with the second virtual object; and presenting the first input message and the second response message in the second conversation interface.

[0089] In some embodiments, process 400 also includes: in response to receiving a second input message in the second conversation interface, providing a third response message, the third response message being generated by the second virtual object based on the second input message and the first context information, wherein the first context information is determined based on the first input message and / or the second response message.

[0090] In some embodiments, process 400 further includes: presenting a prompt element associated with the first input message in the second conversation interface, the prompt element indicating that the first input message comes from a conversation with another virtual object.

[0091] In some embodiments, the second virtual object includes at least one virtual object determined from a set of virtual objects based on the first input message.

[0092] In some embodiments, the second virtual object includes multiple virtual objects, and process 400 further includes: providing multiple response messages generated by the multiple virtual objects based on the first input message in parallel; or providing multiple response messages generated by the multiple virtual objects based on the first input message in series.

[0093] In some embodiments, the first response message includes a content portion associated with the second response message.

[0094] In some embodiments, process 400 further includes: in response to receiving a third input message in the conversation interface, providing a second set of response messages, the second set of messages including a third response message generated by the first virtual object and a fourth response message generated by the third virtual object.

[0095] In some embodiments, process 400 further includes: in response to determining that a preset condition is satisfied, triggering the third virtual object to generate a fourth response message based on second context information, where the second context information is determined based on the first input message and / or the second response message.

[0096] In some embodiments, the preset conditions include: the third virtual object is the same as the second virtual object; and / or the correlation between the first input message and the third input message is greater than a threshold.

[0097] In some embodiments, the third virtual object is determined based on the third input message, and the determination of the third virtual object is independent of the second virtual object.

[0098] In some embodiments the third response message is also generated based on the second response message.

[0099] In some embodiments, the second response message is generated based on the following process: determining the relevance of the first input message to a plurality of candidate virtual objects based on the first input message and a historical context associated with the target session; determining a second virtual object from the plurality of candidate virtual objects based on the relevance; and providing the first input message to the second virtual object to generate a second response message.

[0100] In some embodiments, based on correlation, determining a second virtual object from multiple candidate virtual objects includes: determining a group of candidate virtual objects from multiple candidate virtual objects, wherein the correlation of the first input message with the group of candidate virtual objects is higher than a threshold; and determining the second virtual object from the group of candidate virtual objects based on evaluation information associated with the group of candidate virtual objects.

[0101] In some embodiments, the number of second virtual objects is less than a preset number.

[0102] Example devices and equipment

[0103] The embodiments of the present disclosure also provide corresponding devices for implementing the above methods or processes. Figure 5 A schematic structural block diagram of an example apparatus 500 for information interaction according to some embodiments of the present disclosure is shown. The apparatus 500 may be implemented as or included in the electronic device 110. Each module / component in the apparatus 500 may be implemented by hardware, software, firmware, or any combination thereof.

[0104] like Figure 5 As shown, the device 500 includes a receiving module 510, which is configured to receive a first input message in a first conversation interface of a target conversation with a first virtual object; a providing module 520, which is configured to provide a first group of response messages in the conversation interface, the first group of messages including a first response message generated by the first virtual object and a second response message generated by a second virtual object, the second virtual object being independent of the target conversation; and a presenting module 530, which is configured to present reference information associated with the second virtual object in association with the second response message.

[0105] In some embodiments, the device 500 also includes a switching module configured to: present a second conversation interface with the second virtual object in response to selection of the second response message; and present the first input message and the second response message in the second conversation interface.

[0106] In some embodiments, the switching module is also configured to: in response to receiving a second input message in the second conversation interface, provide a third response message, the third response message being generated by the second virtual object based on the second input message and the first context information, wherein the first context information is determined based on the first input message and / or the second response message.

[0107] In some embodiments, the switching module is further configured to: present a prompt element associated with the first input message in the second conversation interface, the prompt element indicating that the first input message comes from a conversation with another virtual object.

[0108] In some embodiments, the second virtual object includes at least one virtual object determined from a set of virtual objects based on the first input message.

[0109] In some embodiments, the second virtual object includes multiple virtual objects, and the providing module 520 is further configured to: provide multiple response messages generated by the multiple virtual objects based on the first input message in parallel; or provide multiple response messages generated by the multiple virtual objects based on the first input message in series.

[0110] In some embodiments, the first response message includes a content portion associated with the second response message.

[0111] In some embodiments, the device 500 also includes a dialogue module configured to: in response to receiving a third input message in the conversation interface, provide a second group of response messages, the second group of messages including a third response message generated by the first virtual object and a fourth response message generated by the third virtual object.

[0112] In some embodiments, the device 500 also includes a trigger module configured to: in response to determining that a preset condition is met, trigger the third virtual object to generate a fourth response message based on second context information, where the second context information is determined based on the first input message and / or the second response message.

[0113] In some embodiments, the preset conditions include: the third virtual object is the same as the second virtual object; and / or the correlation between the first input message and the third input message is greater than a threshold.

[0114] In some embodiments, the third virtual object is determined based on the third input message, and the determination of the third virtual object is independent of the second virtual object.

[0115] In some embodiments the third response message is also generated based on the second response message.

[0116] In some embodiments, the second response message is generated based on the following process: determining the relevance of the first input message to a plurality of candidate virtual objects based on the first input message and a historical context associated with the target session; determining a second virtual object from the plurality of candidate virtual objects based on the relevance; and providing the first input message to the second virtual object to generate a second response message.

[0117] In some embodiments, based on correlation, determining a second virtual object from multiple candidate virtual objects includes: determining a group of candidate virtual objects from multiple candidate virtual objects, wherein the correlation of the first input message with the group of candidate virtual objects is higher than a threshold; and determining the second virtual object from the group of candidate virtual objects based on evaluation information associated with the group of candidate virtual objects.

[0118] In some embodiments, the number of second virtual objects is less than a preset number.

[0119] The modules included in the device 500 can be implemented in various ways, including software, hardware, firmware, or any combination thereof. In some embodiments, one or more units can be implemented using software and / or firmware, such as machine executable instructions stored on a storage medium. In addition to or as an alternative to machine executable instructions, some or all of the modules in the device 500 can be implemented at least in part by one or more hardware logic components. As an example and not limitation, exemplary types of hardware logic components that can be used include field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0120] like Figure 6 As shown, the electronic device 600 is in the form of a general electronic device. The components of the electronic device 600 may include, but are not limited to, one or more processors or processing units 610, a memory 620, a storage device 630, one or more communication units 640, one or more input devices 650, and one or more output devices 660. The processing unit 610 may be an actual or virtual processor and is capable of performing various processes according to a program stored in the memory 620. In a multi-processor system, multiple processing units execute computer executable instructions in parallel to improve the parallel processing capability of the electronic device 600.

[0121] The electronic device 600 typically includes a plurality of computer storage media. Such media may be any accessible media that is accessible to the electronic device 600, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 620 may be a volatile memory (e.g., registers, caches, random access memory (RAM)), a non-volatile memory (e.g., a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. The storage device 630 may be a removable or non-removable medium, and may include a machine-readable medium, such as a flash drive, a disk, or any other medium, which may be capable of being used to store information and / or data and may be accessed within the electronic device 600.

[0122] The electronic device 600 may further include additional removable / non-removable, volatile / non-volatile storage media. Figure 5 As shown in , a disk drive for reading or writing from a removable, non-volatile disk (e.g., a "floppy disk") and an optical drive for reading or writing from a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to the bus (not shown) by one or more data media interfaces. The memory 620 may include a computer program product 625 having one or more program modules that are configured to perform various methods or actions of various embodiments of the present disclosure.

[0123] The communication unit 640 implements communication with other electronic devices through a communication medium. Additionally, the functions of the components of the electronic device 600 can be implemented with a single computing cluster or multiple computing machines that can communicate through a communication connection. Therefore, the electronic device 600 can operate in a networked environment using a logical connection with one or more other servers, a network personal computer (PC), or another network node.

[0124] The input device 650 may be one or more input devices, such as a mouse, a keyboard, a tracking ball, etc. The output device 660 may be one or more output devices, such as a display, a speaker, a printer, etc. The electronic device 600 may also communicate with one or more external devices (not shown) through the communication unit 640 as needed, such as a storage device, a display device, etc., communicate with one or more devices that allow a user to interact with the electronic device 600, or communicate with any device that allows the electronic device 600 to communicate with one or more other electronic devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface (not shown).

[0125] According to an exemplary implementation of the present disclosure, a computer-readable storage medium is provided, on which computer-executable instructions are stored, wherein the computer-executable instructions are executed by a processor to implement the method described above. According to an exemplary implementation of the present disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, and the computer-executable instructions are executed by a processor to implement the method described above.

[0126] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices, equipment, and computer program products implemented according to the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.

[0127] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0128] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, so that the instructions executed on the computer, other programmable data processing apparatus, or other device implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0129] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple implementations of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of a module, program segment or instruction includes one or more executable instructions for realizing the logical function of the specification. In some implementations as replacements, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be realized by a special hardware-based system that performs the function or action of the specification, or can be realized by a combination of special hardware and computer instructions.

[0130] The above descriptions of various implementations of the present disclosure are exemplary, non-exhaustive, and not limited to the disclosed implementations. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described implementations. The selection of terms used herein is intended to best explain the principles of the implementations, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the various implementations disclosed herein.

Claims

1. A method for information interaction, comprising: In a first conversation interface of a target conversation with a first virtual object, receiving a first input message; In the conversation interface, providing a first group of response messages, the first group of messages including a first response message generated by the first virtual object and a second response message generated by a second virtual object, the second virtual object being independent of the target conversation; as well as In association with the second response message, reference information associated with the second virtual object is presented.

2. The method according to claim 1, further comprising: In response to selection of the second response message, presenting a second conversation interface with the second virtual object; as well as The first input message and the second response message are presented in the second conversation interface.

3. The method according to claim 2, further comprising: In response to receiving a second input message in the second conversation interface, a third response message is provided, wherein the third response message is generated by the second virtual object based on the second input message and first context information, wherein the first context information is determined based on the first input message and / or the second response message.

4. The method according to claim 2, further comprising: In the second conversation interface, a prompt element associated with the first input message is presented, and the prompt element indicates that the first input message comes from a conversation with another virtual object. 5 . The method of claim 1 , wherein the second virtual object comprises at least one virtual object determined from a set of virtual objects based on the first input message.

6. The method of claim 5, wherein the second virtual object comprises a plurality of virtual objects, and the method further comprises: providing in parallel a plurality of response messages generated by the plurality of virtual objects based on the first input message; or A plurality of response messages generated by the plurality of virtual objects based on the first input message are provided serially.

7. The method of claim 1, wherein the first response message includes a content portion associated with the second response message.

8. The method according to claim 1, further comprising: In response to receiving a third input message in the conversation interface, a second group of response messages is provided, the second group of messages including a third response message generated by the first virtual object and a fourth response message generated by a third virtual object.

9. The method according to claim 8, further comprising: In response to determining that a preset condition is met, the third virtual object is triggered to generate the fourth response message based on second context information, where the second context information is determined based on the first input message and / or the second response message.

10. The method according to claim 9, wherein the preset condition comprises: The third virtual object is the same as the second virtual object; and / or The correlation between the first input message and the third input message is greater than a threshold. 11 . The method of claim 8 , wherein the third virtual object is determined based on the third input message, and the determination of the third virtual object is independent of the second virtual object.

12. The method of claim 8, wherein the third response message is also generated based on the second response message.

13. The method according to claim 1, wherein the second response message is generated based on the following process: determining, based on the first input message and a historical context associated with the target session, a relevance of the first input message to a plurality of candidate virtual objects; Based on the correlation, determining the second virtual object from the plurality of candidate virtual objects; as well as The first input message is provided to the second virtual object to generate the second response message.

14. The method according to claim 13, wherein based on the correlation, determining the second virtual object from the plurality of candidate virtual objects comprises: determining a group of candidate virtual objects from the plurality of candidate virtual objects, wherein the correlation between the first input message and the group of candidate virtual objects is higher than a threshold; as well as The second virtual object is determined from the set of candidate virtual objects based on evaluation information associated with the set of candidate virtual objects. The method according to claim 1 , wherein the number of the second virtual objects is less than a preset number.

16. A device for information interaction, comprising: A receiving module configured to receive a first input message in a first conversation interface of a target conversation with a first virtual object; a providing module configured to provide, in the conversation interface, a first group of response messages, the first group of messages comprising a first response message generated by the first virtual object and a second response message generated by a second virtual object, the second virtual object being independent of the target conversation; as well as The presentation module is configured to present reference information associated with the second virtual object in association with the second response message.

17. An electronic device comprising: at least one processing unit; as well as At least one memory, the at least one memory being coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions causing the electronic device to perform the method according to any one of claims 1 to 15 when executed by the at least one processing unit.

18. A computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the method according to any one of claims 1 to 15 when executed by a processor.

Citation Information

Patent Citations

  • Acquisition method and device of response data, equipment and medium

    CN116610790A

  • Session processing method and device for artificial intelligence, equipment and storage medium

    CN117251537A

  • Interaction method and device, equipment and storage medium

    CN117376292A

  • Information processing method and device based on large language model, equipment and storage medium

    CN117521675A

  • Searching method and device, equipment and storage medium

    CN118296228A

Cited By

  • Information interaction method and apparatus, device, storage medium, and program product

    WO2026103818A1