Interaction method and device for intelligent agent, storage medium and program product
Through the stage switching function of the agent, the user experience problem caused by the fixed character setting of the agent is solved, and the multi-stage interaction of the agent is realized, which improves the immersion and experience of user interaction, and simplifies the process of creating the agent.
Patent Information
- Application Number
- CN202480002118.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-20
- Publication Date
- 2024-12-20
AI Technical Summary
The role settings of existing agents are fixed and cannot change over time, resulting in a single user interaction content and poor user experience.
By receiving user triggered operations, switch the agent to the corresponding stage according to the configuration information between multiple stages and stages of the agent to interact with the user. The configuration information is operated through editable controls in the user interface to realize intelligence The stage switching of the body.
It enriches the interactive content between users and agents, improves the immersion and interactive experience of user interaction, enhances user stickiness, and simplifies the configuration process of the agent creator.
Smart Images

Figure CN119173854A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and in particular to an interaction method and device for an intelligent agent, a computer-readable storage medium, and a computer program product. Background Art
[0002] With the development of artificial intelligence technology, the application of intelligent agents has penetrated into all aspects of our lives, such as intelligent question and answer, intelligent voice assistants, etc.
[0003] In the related art, for a created intelligent agent, the role setting of the intelligent agent is fixed during the process of the user interacting with the intelligent agent. Summary of the invention
[0004] This summary is provided to introduce concepts in a brief form that will be described in detail in the detailed description below. This summary is not intended to identify key features or essential features of the claimed technical solution, nor is it intended to limit the scope of the claimed technical solution.
[0005] According to a first aspect of some embodiments of the present disclosure, there is provided an interaction method for an agent, comprising:
[0006] Receiving a trigger operation from a first user;
[0007] According to the triggering operation of the first user and the configuration information related to each stage of the agent and the switching of the agent between multiple stages, the agent is switched to the stage corresponding to the triggering operation, so that the agent interacts with the first user in the stage corresponding to the triggering operation, wherein the configuration information is configured in the following manner:
[0008] In response to the agent being configured to have the plurality of stages, displaying a plurality of first configuration items in an editable state on a user interface, wherein each first configuration item includes at least one first control operable by a second user;
[0009] Based on the operation of the second user on at least one of the multiple first controls corresponding to the multiple first configuration items, configuration information related to each stage of the agent and the switching of the agent between the multiple stages is configured.
[0010] According to a second aspect of some embodiments of the present disclosure, there is provided an interactive device for an intelligent agent, comprising:
[0011] A receiving module, configured to receive a trigger operation of a first user;
[0012] A switching module is configured to switch the agent to a stage corresponding to the triggering operation according to the triggering operation of the first user and configuration information related to each stage of the agent and the switching of the agent between multiple stages, so that the agent interacts with the first user in the stage corresponding to the triggering operation, wherein the configuration information is configured in the following manner:
[0013] In response to the agent being configured to have multiple stages, displaying a plurality of first configuration items in an editable state on the user interface, wherein each first configuration item includes at least one first control operable by a second user;
[0014] Based on the operation of the second user on at least one of the multiple first controls corresponding to the multiple first configuration items, configuration information related to each stage of the agent and the switching of the agent between the multiple stages is configured.
[0015] According to a third aspect of some embodiments of the present disclosure, there is provided an interaction device for an intelligent agent, comprising: a memory; and a processor coupled to the memory, wherein the processor is configured to execute an interaction method for an intelligent agent of any embodiment described in the present disclosure based on instructions stored in the memory.
[0016] According to a fourth aspect of some embodiments of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the interaction method for an intelligent agent of any embodiment described in the present disclosure is performed.
[0017] According to a fifth aspect of some embodiments of the present disclosure, a computer program product is provided, which, when executed on a computer, enables the computer to implement the interaction method for an intelligent agent of any of the embodiments.
[0018] Other features, aspects and advantages of the present disclosure will become apparent from the following detailed description of exemplary embodiments of the present disclosure with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The preferred embodiments of the present disclosure are described below with reference to the accompanying drawings. The drawings described herein are used to provide a further understanding of the present disclosure. Each of the drawings together with the following detailed description is included in this specification and forms a part of the specification, and is used to explain the present disclosure. It should be understood that the drawings described below only relate to some embodiments of the present disclosure and do not constitute a limitation on the present disclosure. In the drawings:
[0020] Figure 1 is a flowchart illustrating an interaction method for an intelligent agent according to some embodiments of the present disclosure;
[0021] Figure 2 is a flowchart illustrating an interaction method according to other embodiments of the present disclosure;
[0022] Figure 3A is a flowchart illustrating a configuration process of the configuration information according to some embodiments of the present disclosure;
[0023] Figure 3B is a flowchart illustrating a configuration process of the configuration information according to other embodiments of the present disclosure;
[0024] Figure 3C is a flowchart illustrating a configuration process of the configuration information according to other embodiments of the present disclosure;
[0025] Figure 3D is a flowchart illustrating a configuration process of the configuration information according to other embodiments of the present disclosure;
[0026] Figure 3E is a flowchart illustrating a configuration process of the configuration information according to other embodiments of the present disclosure;
[0027] Figure 3F is a flowchart illustrating a configuration process of the configuration information according to other embodiments of the present disclosure;
[0028] Figure 4 is a schematic diagram showing a user interface for configuring the configuration information according to some embodiments of the present disclosure;
[0029] Figure 5 is a block diagram illustrating an interactive device for an intelligent agent according to some embodiments of the present disclosure;
[0030] Figure 6 is a block diagram showing an interactive device for an intelligent agent according to some other embodiments of the present disclosure;
[0031] Figure 7 is a block diagram illustrating an electronic device according to some embodiments of the present disclosure.
[0032] It should be understood that, for ease of description, the sizes of the various parts shown in the drawings are not necessarily drawn according to the actual proportional relationship. The same or similar reference numerals are used in the various drawings to represent the same or similar parts. Therefore, once an item is defined in one drawing, it may not be further discussed in subsequent drawings. DETAILED DESCRIPTION
[0033] The following will be combined with the drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure, but it is obvious that the described embodiments are only part of the embodiments of the present disclosure, rather than all the embodiments. The following description of the embodiments is actually only illustrative and is by no means intended to limit the present disclosure and its application or use. 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.
[0034] It should be understood that the various steps recorded in the method embodiments of the present disclosure can be performed in different orders, and / or performed in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown in the execution. The scope of the present disclosure is not limited in this respect. Unless otherwise specifically stated, the relative arrangement, numerical expressions and numerical values of the parts and steps set forth in these embodiments should be interpreted as being merely exemplary and do not limit the scope of the present disclosure.
[0035] The term "include" and its variations used in the present disclosure mean an open term that includes at least the following elements / features but does not exclude other elements / features, that is, "including but not limited to". In addition, the term "include" and its variations used in the present disclosure mean an open term that includes at least the following elements / features but does not exclude other elements / features, that is, "including but not limited to". Therefore, include is synonymous with include. The term "based on" means "based at least in part on".
[0036] References throughout this specification to "one embodiment," "some embodiments," or "an embodiment" mean that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. For example, 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." Furthermore, the appearances of the phrases "in one embodiment," "in some embodiments," or "in an embodiment" in various places throughout this specification do not necessarily all refer to the same embodiment, but may do so.
[0037] It should be noted that the concepts of "first", "second", etc. mentioned in the present 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. Unless otherwise specified, the concepts of "first", "second", etc. are not intended to imply that the objects described in this way must be in a given order in time, space, ranking, or any other manner.
[0038] It should be noted that the modifications of "one" and "plurality" 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, it should be understood as "one or more".
[0039] 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.
[0040] The embodiments of the present disclosure are described in detail below in conjunction with the accompanying drawings, but the present disclosure is not limited to these specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. In addition, in one or more embodiments, specific features, structures or characteristics can be combined in any suitable manner that will be clear from the present disclosure by a person of ordinary skill in the art.
[0041] In the related art, once an intelligent agent is set, its role stage will not change over time. When a user interacts with an intelligent agent with a fixed role stage, the interaction content is monotonous and the user experience is poor.
[0042] The present disclosure provides a technical solution that can enrich the interaction content between users and intelligent agents, enhance the immersion of users in the interaction with intelligent agents, and improve user experience.
[0043] Figure 1 is a flow chart showing an interaction method for an intelligent agent according to some embodiments of the present disclosure.
[0044] like Figure 1 As shown, the interaction method includes: step S110, receiving a trigger operation of a first user; and step S120, switching the agent to the stage corresponding to the trigger operation based on the trigger operation of the first user and configuration information related to each stage of the agent and the switching of the agent between multiple stages, so that the agent interacts with the first user in the stage corresponding to the trigger operation.
[0045] The configuration information is obtained by configuring:
[0046] In response to the agent being configured to have the plurality of stages, displaying a plurality of first configuration items in an editable state on a user interface, wherein each first configuration item includes at least one first control operable by a second user;
[0047] Based on the operation of the second user on at least one of the multiple first controls corresponding to the multiple first configuration items, configuration information related to each stage of the agent and the switching of the agent between the multiple stages is configured.
[0048] For example, the first user is a user who interacts with the agent and can be called an agent user or interactor. The trigger operation of the first user can be the first user inputting interactive content, or the first user performing a specific interface operation, etc. The present disclosure does not specifically limit the form of the trigger operation.
[0049] For example, the second user is a user who builds or configures the agent and can be called an agent creator.
[0050] The multiple phases of an agent may be any phases. For example, for an agent with a life cycle, the phase of the agent may be a key phase in the entire process of the life cycle. The present disclosure does not specifically limit the definition of phases.
[0051] In the above embodiment, when the first user interacts with the agent, the agent can be switched to the stage corresponding to the trigger operation according to the trigger operation of the first user and the configuration information related to each stage of the agent and the switching of the agent between multiple stages, so that the first user (i.e., the agent user) can interact with the multiple stages of the agent, making the role of the agent more full and vivid, enhancing the immersion of the user's interaction with the agent, improving the interactive experience with the agent, and enhancing user stickiness. In addition, by visualizing the configuration process of each stage of the agent and the switching between multiple stages, it is convenient for the second user (i.e., the agent creator) to create a multi-stage agent, thereby improving the user experience of the agent creator.
[0052] The following will be combined Figures 2 to 3F The interaction methods in other embodiments of the present disclosure are described in detail.
[0053] Figure 2 It is a flowchart showing an interaction method according to some other embodiments of the present disclosure. Figure 2 and Figure 1 The difference is that Figure 2 Steps S121 and S122 in Figure 1 An implementation of step S120 in FIG. Figure 2 and Figure 1 The differences are shown below, and the similarities will not be repeated here.
[0054] like Figure 2 As shown, in step S121, according to the trigger operation of the first user, the configuration information related to the stage corresponding to the trigger operation is determined from the configuration information related to each stage of the agent and the switching of the agent between the multiple stages.
[0055] In step S122, the agent is switched to the stage corresponding to the trigger operation according to the configuration information related to the stage corresponding to the trigger operation.
[0056] In the above embodiment, different trigger operations of the first user correspond to the stages of the intelligent agent, so that the configuration information related to the stage corresponding to the trigger operation of the first user can be obtained to switch the intelligent agent to the stage corresponding to the trigger operation. Accurate switching of the intelligent agent stage can be achieved, thereby enhancing the immersion of the user's interaction with the intelligent agent and meeting the interaction needs of the first user who interacts with the intelligent agent.
[0057] Figure 3A It is a flowchart illustrating a configuration process of the configuration information according to some embodiments of the present disclosure.
[0058] like Figure 3A As shown, the configuration process of the configuration information includes: step S10, in response to the agent being configured to have the multiple stages, displaying multiple first configuration items in an editable state on the user interface, wherein each first configuration item includes at least one first control operable by a second user; and step S20, based on the second user's operation of at least one of the multiple first controls corresponding to the multiple first configuration items, configuring configuration information related to each stage of the agent and the switching of the agent between the multiple stages.
[0059] Figure 3B It is a flowchart illustrating the configuration process of the configuration information according to other embodiments of the present disclosure. Figure 3B and Figure 3A The difference is that Figure 3B Steps S21 and S22 in Figure 3A An implementation of step S20 in FIG. Figure 3B and Figure 3A The differences are shown below, and the similarities will not be repeated here.
[0060] In some embodiments, the plurality of first controls include controls for configuring each stage and controls for configuring switching between the plurality of stages. Figure 3B As shown, in step S21, based on the operation of the second user on the control for configuring each stage, configuration information related to each stage of the agent is configured. In step S22, based on the operation of the second user on the control for configuring switching between multiple stages, configuration information related to the switching of the agent between the multiple stages is configured.
[0061] In the above embodiment, visual configuration is achieved through controls, and the configuration of each stage and the configuration of multi-stage switching are divided into two parts, which simplifies the configuration process and further enhances the experience of the creator user (agent creator).
[0062] Figure 3C It is a flowchart illustrating the configuration process of the configuration information according to other embodiments of the present disclosure. Figure 3C and Figure 3B The difference is that Figure 3C Steps S211 and S212 in Figure 3B An implementation of step S21 in the following description will only be described Figure 3C and Figure 3B The differences are shown below, and the similarities will not be repeated here.
[0063] In some embodiments, configuring the controls for each stage includes configuring the controls for the role attributes for each stage. Figure 3C As shown, in step S211, in response to the second user operating the control for configuring the role attributes of each stage, the attribute configuration area of at least one stage among the multiple stages is displayed on the user interface. In step S212, based on the operation of the second user in the attribute configuration area of any stage, the attribute value of the role attribute of the agent in any stage is configured as the configuration information related to each stage of the agent.
[0064] In the above embodiment, in response to the second user operating the control for configuring the role attributes of each stage, the attribute configuration area is displayed, which can simplify the configuration interface and enhance the user experience of the creator user.
[0065] Figure 3D It is a flowchart illustrating the configuration process of the configuration information according to other embodiments of the present disclosure. Figure 3D and Figure 3C The difference is that Figure 3D Steps S2121 and S2122 in Figure 3C An implementation of step S212 in FIG. Figure 3D and Figure 3C The differences are shown below, and the similarities will not be repeated here.
[0066] like Figure 3D As shown, in step S2121, in response to the second user performing a first operation in the attribute configuration area of any stage, at least one attribute value template is displayed in the attribute configuration area of any stage, wherein the at least one attribute value template is a template including attribute values of the role attributes of any stage. In step S2122, based on the second user's operation on the at least one attribute value template, the attribute values of the role attributes of the agent at any stage are configured.
[0067] The second user may perform operations such as adding, modifying, and deleting on the at least one attribute value template to update the content of the attribute value template to meet the creation needs of the second user.
[0068] In the above embodiment, by providing attribute value templates, the user experience of the creator user in the process of configuring the intelligent agent can be further improved.
[0069] In some embodiments, the multiple controls also include controls for configuring whether there are differences in the character attributes of multiple stages. In response to the second user performing a first operation in the attribute configuration area of any of the stages, displaying at least one attribute value template in the attribute configuration area of any of the stages includes: in response to the second user performing a specified operation on the control for configuring whether there are differences in the character attributes of multiple stages and performing a first operation in the attribute configuration area of any of the stages, displaying at least one attribute value template that is different from other stages except the any of the stages in the attribute configuration area of any of the stages. For example, different character background images and voices are matched for different stages of the intelligent agent to help the character of the intelligent agent show multi-stage growth.
[0070] In the above embodiment, the creator user can configure different attribute value templates for different stages according to their own needs to provide differentiated stage configurations, further enhance the creator user's experience, and at the same time provide the user user with differentiated stages of intelligent bodies to further enhance the user user's experience.
[0071] Figure 3E It is a flowchart illustrating the configuration process of the configuration information according to other embodiments of the present disclosure. Figure 3E and Figure 3B The difference is that Figure 3E Steps S221 and S223 in Figure 3B An implementation of step S22 in FIG. Figure 3E and Figure 3B The differences are shown below, and the similarities will not be repeated here.
[0072] In some embodiments, the control for configuring switching between multiple stages includes a control for configuring switching information and a control for copying switching information. Figure 3EAs shown, in step S221, based on the operation of the control for configuring the switching information by the second user, the switching information for realizing the switching of the agent between the multiple stages is configured as the configuration information for the switching of the agent between the multiple stages. In step S222, in response to the second user operating the control for copying the switching information, a copy of the control for configuring the switching information is displayed on the user interface as the control for configuring the switching between the multiple stages. In step S223, based on the operation of the second user on the copy of the control for configuring the switching information, the switching information is configured as the configuration information for the switching of the agent between the multiple stages.
[0073] In the above embodiment, by configuring the coordination between the control for switching information and the control for copying switching information, the user interface can be simplified, the structure of the user interface can be made clearer, and the experience of the creator user can be improved.
[0074] In some embodiments, the user interface further includes a second configuration item that is always in an editable state, the second configuration item including a second control operable by the second user. In response to the agent being configured to have multiple stages, displaying multiple first configuration items in an editable state in the user interface includes: in response to the second user performing a first operation on the second control, configuring the agent to have multiple stages, and switching the multiple first configuration items in a non-editable state in the user interface to the editable state.
[0075] In this embodiment, a second control is used to configure whether the agent has multiple stages, and to switch the editing state of the first configuration item in the user interface, thereby simplifying the operation of the creator user and further improving the experience of the creator user.
[0076] In some embodiments, in response to the second user performing a second operation on the second control, the agent is configured to have no multiple stages, and the multiple first configuration items in the user interface that are in an editable state are switched to the non-editable state.
[0077] Figure 3F It is a flowchart illustrating the configuration process of the configuration information according to other embodiments of the present disclosure. Figure 3F and Figure 3C The difference is that Figure 3F Step S2121' and step S2122' in Figure 3C An implementation of step S212 in FIG. Figure 3F and Figure 3C The differences are shown below, and the similarities will not be repeated here.
[0078] like Figure 3FAs shown, in step S2121', in response to the second user performing a second operation in the attribute configuration area of each stage, one or more editable input areas are displayed in the attribute configuration area. In step S2122', based on the attribute values of the at least one role attribute customized by the second user input in the one or more input areas, the attribute values of the at least one role attribute of the agent in each stage are configured.
[0079] In some embodiments, the plurality of first controls further include a control of a first expansion interface element, the control of the first expansion interface element being a parent control of the control for switching between the plurality of configuration stages. In response to the agent being configured to have a plurality of stages, displaying a plurality of first configuration items in an editable state on the user interface comprises: in response to the agent being configured to have a plurality of stages and the second user performing an expansion operation on the control of the first expansion interface element, displaying the control for switching between the plurality of configuration stages in the editable state on the user interface.
[0080] In some embodiments, the control for switching between multiple configuration stages further includes a control of a second expansion interface element, and the control of the second expansion interface element is a parent control of the control for copying the switching information and the copy of the control for configuring the switching information. The interaction method further includes: in response to the user performing an expansion operation on the control of the second expansion interface element, displaying the copy of the control for copying the switching information and the copy of the control for configuring the switching information on the user interface.
[0081] In some embodiments, the plurality of first controls further include a sliding control, and the control for switching between the plurality of configuration stages is bound to the sliding control. The interaction method further includes: in response to at least a portion of the control for switching between the plurality of configuration stages exceeding the visible area, switching the sliding control from a non-slidable state to a slidable state; based on a sliding operation performed by the second user on the sliding control in the slidable state, displaying at least a portion of the control for switching between the plurality of configuration stages exceeding the visible area on the user interface.
[0082] In some embodiments, the switching information includes the completion goals of each stage, the stage to jump to when the completion goals are achieved, and the content that the agent needs to execute when the completion goals are achieved; and / or the multiple first controls also include controls for configuring the stage in which the agent first interacts; and / or the multiple first configuration items include first guidance information, and the first guidance information is used to guide the second user to operate at least one of the multiple first controls; and / or the second configuration item includes second guidance information, and the second guidance information is used to guide the second user to operate the second control.
[0083] The controls in any of the above embodiments may be set according to the business scenario, for example, they may be text boxes, drop-down buttons, check boxes, etc. The present disclosure does not limit the specific form of the controls.
[0084] The following will be combined Figure 4 The configuration process of the configuration information involved in the interaction method in some embodiments of the present disclosure is described in detail.
[0085] Figure 4 is a schematic diagram showing a user interface for configuring the configuration information according to some embodiments of the present disclosure.
[0086] like Figure 4 As shown, during the process of the second user configuring the agent, the presented user interface includes multiple controls and guidance information of at least one control.
[0087] In some embodiments, reference Figure 4 The guidance information includes "Is it a multi-stage role?", and the control corresponding to "Is it a multi-stage role" is a check box. The second user can configure whether the agent is a multi-stage role, that is, configure whether the agent has multiple stages, by performing a check operation or a uncheck (revoke) operation.
[0088] In some embodiments, reference Figure 4 The guidance information also includes "whether the stage contents are interoperable". The control corresponding to "whether the stage contents are interoperable" is a check box. The second user can configure whether multiple stages of the intelligent agent are interoperable by performing a check or uncheck operation, that is, configuring whether there are differences in the role attributes of different stages of the intelligent agent.
[0089] In some embodiments, reference Figure 4 The guidance information also includes "the stage of the first chat". The control corresponding to "the stage of the first chat" is a text box. The second user can configure the stage of the first chat between the intelligent agent and the first user by entering the name of the stage in the text box.
[0090] In some embodiments, reference Figure 4 The guidance information also includes information for guiding the second user to configure the switching information, such as "complete the goal", "character needs to perform content", and "and jump to the stage". The controls corresponding to "complete the goal", "character needs to perform content", and "and jump to the stage" are all text boxes. The second user performs an input operation and enters text in the text box to configure the switching information.
[0091] In some embodiments, reference Figure 4, the controls in the user interface may include an add button, which is used to copy the guidance information "complete the goal", "character needs to perform content" and "and jump to the stage" and their corresponding controls, so that the second user can continue to configure the switching information.
[0092] In some embodiments, reference Figure 4 , the controls in the user interface may include a slider control that the second user can operate to view the visible area.
[0093] In some embodiments, reference Figure 4 A drop-down button can be configured near the guidance information "Completion Target", and the drop-down button can expand multiple controls for configuring switching information and guidance information.
[0094] In some embodiments, reference Figure 4 A drop-down button can be configured near the guidance information "Whether the stage contents are interoperable", and the drop-down button can expand the child controls of the guidance information "Whether the stage contents are interoperable" and the guidance information of these child controls.
[0095] In some embodiments, the display form of the configuration of each stage of the agent can refer to Figure 4 .like Figure 4 The guidance information "Phase 1" is the name of the phase configured by the second user. The configuration area below the guidance information "Phase 1" is the configuration area for the role attributes. The attributes of the role include, but are not limited to Figure 4 The character name, gender, occupation, character label, personality traits, hobbies, appearance description, language style, language style reference, character relationships, past experiences, the relationship between us, current status, etc. are displayed.
[0096] The language style is, for example, charming, gentle, or indifferent. Taking the language style of charming as an example, the language style reference is, for example, a charming language text example. The character relationship is the relationship between the corresponding character of the intelligent agent and other NPCs (Non-Player Characters). The relationship between us is the relationship between the role played by the user and the corresponding character of the intelligent agent. The current state is, for example, the problem currently faced by the intelligent agent, which can encourage users who interact with the intelligent agent to participate.
[0097] like Figure 4 As shown, the guidance information "Click the text on the left to use the template, click the blank space to use the blank page" is used to guide the user to use the attribute value template for configuring the role attribute or to customize the attribute value of the role attribute. The attribute value template can be freely configured by the second user, for example.
[0098] In some embodiments, reference Figure 4, the Add button below the role attribute configuration area is used to add more stages of role attribute configuration areas.
[0099] by Figure 4 For example, the operation process of the second user is as follows.
[0100] The second user is Figure 4 The user interface shown, based on the guidance information "Is it a multi-stage role", completes the check operation or undo operation by clicking the check box, thereby selecting whether the agent's own role has multiple stages.
[0101] When the second user checks the check box corresponding to the guidance information "Is it a multi-stage role", the triangle drop-down button next to the guidance information "Are the stage contents interoperable" is unlocked to a usable state, and the check box (or check box) corresponding to the guidance information "Are the stage contents interoperable" is unlocked to a selectable state. Figure 4 The Add button at the bottom of the user interface is available.
[0102] The second user clicks Figure 4 In the guidance information "Whether the contents of the stages are interconnected", the check box corresponding to the check box is checked or unchecked to configure whether the multiple stages of the intelligent body are interconnected, that is, whether there are differences in the role attributes of the multiple stages.
[0103] Second user clicks Figure 4 The drop-down button next to the guidance information "Complete goal" in the guide can display more content.
[0104] The second user can Figure 4 In the text box corresponding to the guidance information "First chat stage" in the guide, fill in the stage that the character of the intelligent agent is in when the user first starts the chat.
[0105] After filling in the target of the agent, the second user can also configure the content that the character needs to execute after the agent completes the target (can be empty) and the stage to jump to after the character executes the content. These configuration operations can be done in Figure 4 The configuration of the switching information area is performed by entering the text box content.
[0106] The second user can also click Figure 4 You can add more stage transition configurations by adding a button near the "Complete Goal" in the guide information. When adding more stage configurations, a slider control can be displayed in the user interface to allow the second user to browse more content.
[0107] The second user can also click Figure 4 Click the Add button at the bottom of the user interface to add more stage character attribute configurations.
[0108] Figure 4 The interface layout mentioned in the description can be adjusted according to actual application, and the present disclosure does not make any specific limitation on this.
[0109] The above are some interactive methods provided by some embodiments of the present disclosure. Figure 5 Describe the interaction device in some embodiments of the present disclosure.
[0110] Figure 5 is a block diagram illustrating an interactive device for an intelligent agent according to some embodiments of the present disclosure.
[0111] like Figure 5 As shown, the interaction device 5 includes a receiving module 51 and a switching module 52 .
[0112] The receiving module 51 is configured to receive a trigger operation of a first user. The switching module 52 is configured to switch the agent to a stage corresponding to the trigger operation according to the trigger operation of the first user and configuration information related to each stage of the agent and the switching of the agent between multiple stages, so that the agent interacts with the first user in the stage corresponding to the trigger operation. The configuration information is configured in the following manner: in response to the agent being configured to have multiple stages, multiple first configuration items in an editable state are displayed on the user interface, wherein each first configuration item includes at least one first control operable by a second user; based on the second user's operation on at least one of the multiple first controls corresponding to the multiple first configuration items, the configuration information related to each stage of the agent and the switching of the agent between the multiple stages is configured.
[0113] The interactive device 5 can be used to perform Figure 1 The interactive device 5 can also be used to perform the steps S110 to S120. Figure 1 Steps S110 to S120 of other embodiments are related to the steps of FIG.
[0114] It should be noted that the above modules are only logical modules divided according to the specific functions implemented by them, and are not used to limit the specific implementation methods. For example, they can be implemented in software, hardware, or a combination of software and hardware. In actual implementation, the above modules can be implemented as independent physical entities, or can also be implemented by a single entity (for example, a processor (CPU or DSP, etc.), an integrated circuit, etc.). In addition, the above modules are shown with dotted lines in the drawings to indicate that these modules may not actually exist, and the operations / functions implemented by them can be implemented by the processing circuit itself.
[0115] The above is a content publishing device in some embodiments of the present disclosure.
[0116] Figure 6is a block diagram showing an interactive device for an intelligent agent according to some other embodiments of the present disclosure.
[0117] like Figure 6 As shown, the interaction device 6 for an intelligent agent includes: a memory 61; and a processor 62 coupled to the memory 61, wherein the processor 62 is configured to execute the interaction method described in any of the aforementioned embodiments based on instructions stored in the memory 61.
[0118] The memory 61 is used to store one or more computer-readable instructions. The memory 61 may include any combination of various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory, including but not limited to random access memory (RAM), dynamic random access memory (DRAM), static random access memory (SRAM), read-only memory (ROM), and flash memory. The memory 61 may store, for example, an operating system, an application, a boot loader (BootLoader), a database, and other programs, and may also store various applications and various data.
[0119] The processor 62 is used to run computer-readable instructions to implement the content publishing method described in any of the above embodiments. The specific implementation of each step of the content publishing method can be referred to the above embodiments, and the repeated parts are not repeated here.
[0120] The processor 62 and the memory 61 may communicate with each other directly or indirectly. For example, the processor 62 and the memory 61 may communicate with each other through a network. The network may include a wireless network, a wired network, and / or any combination of a wireless network and a wired network. The processor 62 and the memory 61 may also communicate with each other through a system bus, which is not limited in the present disclosure.
[0121] It should be noted that Figure 6 The components of the interactive device 6 for an intelligent agent shown are only exemplary and non-restrictive. The interactive device 6 for an intelligent agent may also have other components according to actual application requirements. The processor 62 may be used for other components in the interactive device 6 for an intelligent agent to perform desired functions.
[0122] The interactive device for the intelligent agent can be implemented by software, firmware and / or hardware, and can be integrated into an electronic device installed with relevant application programs.
[0123] Figure 7 is a block diagram illustrating an electronic device according to some embodiments of the present disclosure.
[0124] Figure 7The electronic device 7 shown may be a computer system with a dedicated hardware structure, which can execute corresponding functions when a relevant application program is installed.
[0125] Electronic devices include, but are not limited to, mobile terminals such as smart phones, laptops, personal digital assistants (PDA), tablet computers (Tablet Personal Computer, Tablet PC), PMP (portable multimedia player), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), wearable devices, etc., as well as fixed terminals such as digital televisions, desktop computers, etc.
[0126] like Figure 7 As shown, the central processing unit (CPU) 71 performs various processes according to the program stored in the read-only memory (ROM) 72 or the program loaded from the storage part 88 to the random access memory (RAM) 73. In the RAM 73, data required when the CPU 71 performs various processes, etc. is stored as needed. The central processing unit is only exemplary, and it can also be other types of processors, such as the various processors described above. The ROM 72, RAM 73 and the storage part 78 can be various forms of computer-readable storage media. It should be noted that although Figure 7 ROM 72, RAM 73 and storage section 78 are shown separately in FIG. 1 , but one or more of them may be combined or located in the same or different memory or storage modules.
[0127] The CPU 71, the ROM 72, and the RAM 73 are connected to one another via a bus 74. To the bus 74, an input / output interface 75 is also connected.
[0128] The following components are connected to the input / output interface 75: an input portion 76, such as a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output portion 77, including a display, such as a cathode ray tube (CRT), a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage portion 78, including a hard disk, a magnetic tape, etc.; and a communication portion 79, including a network interface card such as a LAN card, a modem, etc. The communication portion 79 allows communication processing to be performed via a network such as the Internet. It is easy to understand that although Figure 7 The various devices or modules in the electronic device 7 are shown to communicate via a bus 74, but they may also communicate via a network or other means, wherein the network may include a wireless network, a wired network, and / or any combination of a wireless network and a wired network.
[0129] A drive 710 is also connected to the input / output interface 75 as needed. A removable medium 711 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory or the like is mounted on the drive 710 as needed so that a computer program read therefrom is installed into the storage section 78 as needed.
[0130] When the above-described series of processing is realized by software, a program constituting the software can be installed from a network such as the Internet or a storage medium such as the removable medium 711 .
[0131] 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, some embodiments of the present disclosure include a computer program product, which, when running on a computer, enables the computer to implement the interactive method described in any of the aforementioned embodiments. The computer program product includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 79, or installed from the storage part 78, or installed from the ROM 72. When the computer program is executed by the CPU 71, the interactive method of the embodiment of the present disclosure is executed.
[0132] It should be noted that, in the context of the present disclosure, a computer-readable medium may be a tangible medium that may contain or store a program for use by an instruction execution system, apparatus, or device or for use in conjunction with an instruction execution system, apparatus, or device.
[0133] The computer readable medium may be a computer readable storage medium, or a computer readable signal medium, or any combination of the two.
[0134] Computer-readable storage media include, but are not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or components, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROMs), optical storage devices, magnetic storage devices, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in conjunction with an instruction execution system, device, or device. A computer program is stored on a computer-readable storage medium that, when executed by a processor, implements the interactive method described in any of the foregoing embodiments.
[0135] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer readable program codes. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer readable signal media may also be any computer readable medium other than a computer readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, device, 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 of the above.
[0136] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0137] In some embodiments, a computer program product is also provided. When the computer program product is run on a computer, the computer is enabled to implement the interaction method described in any of the above embodiments.
[0138] In some embodiments, a computer program is further provided, comprising: instructions, which, when executed by a processor, cause the processor to execute the interaction method of any of the above embodiments. For example, the instructions may be embodied as computer program codes.
[0139] In embodiments of the present disclosure, computer program code for performing the operations of the present disclosure may be written in one or more programming languages or combinations thereof, including but not limited to object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" language or similar programming languages. The program code may be executed entirely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or entirely on a remote computer or server. In situations involving a remote computer, the remote computer may be connected to the user's computer via 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., via the Internet using an Internet service provider).
[0140] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square 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 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 implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0141] The functions described above may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary 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 chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0142] Although some specific embodiments of the present disclosure have been described in detail by way of example, it should be understood by those skilled in the art that the above examples are for illustration only and are not intended to limit the scope of the present disclosure. It should be understood by those skilled in the art that the above embodiments may be modified without departing from the scope and spirit of the present disclosure. The scope of the present disclosure is defined by the appended claims.
Claims
1. An interaction method for an intelligent agent, comprising: Receiving a trigger operation from a first user; According to the triggering operation of the first user and the configuration information related to each stage of the agent and the switching of the agent between multiple stages, the agent is switched to the stage corresponding to the triggering operation, so that the agent interacts with the first user in the stage corresponding to the triggering operation, wherein the configuration information is configured in the following manner: In response to the agent being configured to have the plurality of stages, displaying a plurality of first configuration items in an editable state on a user interface, wherein each first configuration item includes at least one first control operable by a second user; Based on the operation of the second user on at least one of the multiple first controls corresponding to the multiple first configuration items, configuration information related to each stage of the agent and the switching of the agent between the multiple stages is configured.
2. The interactive method according to claim 1, wherein: According to the triggering operation of the first user and configuration information related to each stage of the agent and the switching of the agent between multiple stages, switching the agent to the stage corresponding to the triggering operation includes: According to the triggering operation of the first user, determining, from the configuration information related to each stage of the agent and the switching of the agent between the multiple stages, configuration information related to the stage corresponding to the triggering operation; According to the configuration information related to the stage corresponding to the trigger operation, the agent is switched to the stage corresponding to the trigger operation.
3. The interactive method according to claim 1, wherein: The plurality of first controls include controls for configuring each stage and controls for configuring switching between the plurality of stages; The configuring of configuration information related to each stage of the agent and the switching of the agent between the multiple stages based on the second user's operation on at least one of the multiple first controls corresponding to the multiple first configuration items includes: Based on the operation of the second user on the control of each stage of the configuration, configuring the configuration information related to each stage of the agent; Based on the second user's operation on the control for configuring the switching between the multiple stages, configuration information related to the switching of the agent between the multiple stages is configured.
4. The interactive method according to claim 3, wherein: The control for configuring each stage includes a control for configuring the role attributes of each stage; Based on the operation of the second user on the control of each stage of the configuration, configuring the configuration information related to each stage of the agent includes: In response to the second user operating the control for configuring the role attributes of each stage, displaying an attribute configuration area of at least one stage among the plurality of stages on the user interface; Based on the operation of the second user in the attribute configuration area at any stage, the attribute values of the role attributes of the agent at any stage are configured as configuration information related to each stage of the agent.
5. The interactive method according to claim 4, wherein: Based on the operation of the second user in the attribute configuration area at any stage, configuring the attribute value of the role attribute of the agent at any stage includes: In response to the second user performing a first operation in the attribute configuration area of any stage, at least one attribute value template is displayed in the attribute configuration area of any stage, wherein the at least one attribute value template is a template including attribute values of the role attributes of any stage; Based on the second user's operation on the at least one attribute value template, the attribute value of the role attribute of the agent at any stage is configured.
6. The interactive method according to claim 5, wherein: The multiple controls also include a control for configuring whether there are differences in the role attributes of multiple stages; In response to the second user performing a first operation in the attribute configuration area at any stage, displaying at least one attribute value template in the attribute configuration area at any stage includes: In response to the second user performing a specified operation on a control that determines whether there are differences in the role attributes of multiple stages of the configuration and performing a first operation in the attribute configuration area of any one of the stages, at least one attribute value template that is different from other stages except the any one stage is displayed in the attribute configuration area of the any one stage.
7. The interactive method according to any one of claims 3 to 6, wherein: The control for configuring switching between multiple stages includes a control for configuring switching information and a control for copying switching information; Based on the operation of the second user on the control for configuring the switching between the multiple stages, the configuration information for configuring the switching between the multiple stages of the agent includes: Based on the operation of the control for configuring the switching information by the second user, configuring the switching information for implementing the switching of the agent between the multiple stages as the configuration information for the switching of the agent between the multiple stages; In response to the second user operating the control for copying the switching information, displaying a copy of the control for configuring the switching information on the user interface as a control for switching between the multiple configuration stages; Based on the second user's operation on the copy of the control for configuring the switching information, the switching information is configured as configuration information for switching between the plurality of stages with the agent.
8. The interactive method according to any one of claims 1 to 6, wherein: The user interface further includes a second configuration item that is always in an editable state, and the second configuration item includes a second control operable by the second user; In response to the agent being configured to have multiple stages, displaying multiple first configuration items in an editable state on the user interface includes: In response to the second user performing a first operation on the second control, the agent is configured to have multiple stages, and the multiple first configuration items in the user interface that are in a non-editable state are switched to the editable state.
9. The interactive method according to claim 8, further comprising: In response to the second user performing a second operation on the second control, the agent is configured to have no multiple stages, and the multiple first configuration items in the user interface that are in an editable state are switched to the non-editable state.
10. The interactive method according to any one of claims 4 to 6, wherein: Based on the operation of the second user in the attribute configuration area at any stage, configuring the attribute value of the role attribute of the agent at any stage includes: In response to the second user performing a second operation in the property configuration area of each stage, displaying one or more editable input areas in the property configuration area; Based on the customized attribute values of the at least one role attribute input by the second user in the one or more input areas, the attribute value of the at least one role attribute of the agent in each stage is configured.
11. The interactive method according to any one of claims 3 to 6, wherein: The multiple first controls also include a control of a first expanded interface element, and the control of the first expanded interface element is a parent control of the control for configuring switching between multiple stages; In response to the agent being configured to have multiple stages, displaying multiple first configuration items in an editable state on the user interface includes: In response to the agent being configured to have multiple stages and the second user performing an expansion operation on the control of the first expansion interface element, the user interface displays controls that switch between the multiple configuration stages in the editable state.
12. The interactive method according to claim 7, wherein: The control for configuring switching between multiple stages further includes a control of a second expanded interface element, and the control of the second expanded interface element is a parent control of the copy of the control for copying switching information and the copy of the control for configuring switching information; The interaction method further comprises: In response to the user performing an expansion operation on the control of the second expansion interface element, a copy of the control for copying the switching information and a copy of the control for configuring the switching information are displayed on the user interface.
13. The interactive method according to claim 7, wherein: The plurality of first controls further include a sliding control, and the control for switching between the plurality of configuration stages is bound to the sliding control; The interaction method further comprises: In response to at least a portion of the control for switching between the configuration multiple stages exceeding the visible area, switching the sliding control from a non-slidable state to a slidable state; Based on a sliding operation performed by the second user on the sliding control in the slidable state, at least a portion of the control for switching between the multiple configuration stages is displayed in the user interface beyond the visible area.
14. The interactive method according to claim 8, wherein: The switching information includes the completion target of each stage, the stage to jump to when the completion target is achieved, and the content that the agent needs to execute when the completion target is achieved; and / or The plurality of first controls also include controls for configuring the stage at which the agent first interacts; and / or The plurality of first configuration items include first guidance information, where the first guidance information is used to guide the second user to operate at least one control among the plurality of first controls; and / or The second configuration item includes second guidance information, and the second guidance information is used to guide the second user to operate the second control.
15. An interactive device for an intelligent agent, comprising: A receiving module, configured to receive a trigger operation of a first user; A switching module is configured to switch the agent to a stage corresponding to the triggering operation according to the triggering operation of the first user and configuration information related to each stage of the agent and the switching of the agent between multiple stages, so that the agent interacts with the first user in the stage corresponding to the triggering operation, wherein the configuration information is configured in the following manner: In response to the agent being configured to have multiple stages, displaying a plurality of first configuration items in an editable state on the user interface, wherein each first configuration item includes at least one first control operable by a second user; Based on the operation of the second user on at least one of the multiple first controls corresponding to the multiple first configuration items, configuration information related to each stage of the agent and the switching of the agent between the multiple stages is configured.
16. An interactive device for an intelligent agent, comprising: Memory; as well as A processor coupled to the memory, wherein the processor is configured to execute the interaction method according to any one of claims 1 to 14 based on instructions stored in the memory.
17. A computer-readable storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the interactive method according to any one of claims 1 to 14.
18. A computer program product, when the computer program product is run on a computer, enables the computer to implement the interactive method according to any one of claims 1 to 14.
Citation Information
Cited By
Intelligent agent generation method and device and storage medium
CN119938044A
