Agent configuration method, electronic device, storage medium, and product

By integrating the configuration interface and the preview interface, users can adjust the agent configuration information in real time in the preview interface, which solves the problem of low configuration efficiency caused by inaccurate user input and achieves efficient and accurate agent configuration and resource saving.

WO2026066806A1PCT designated stage Publication Date: 2026-04-02BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2025-08-18
Publication Date
2026-04-02

AI Technical Summary

Technical Problem

The configuration of intelligent agents depends on the configuration information provided by the user. Inaccurate user input leads to low configuration efficiency, low utilization rate after creation, serious waste of resources, and cumbersome switching between the configuration interface and the user interface, which affects configuration efficiency.

Method used

It provides an integrated design for the intelligent agent configuration interface and preview interface. Users can adjust the configuration information in real time in the preview interface and generate response messages through semantic understanding and generative models to achieve real-time updates and optimization of the configuration information.

Benefits of technology

It improves the efficiency and accuracy of agent configuration, reduces resource waste, simplifies the configuration process, and enhances the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025115368_02042026_PF_FP_ABST
    Figure CN2025115368_02042026_PF_FP_ABST
Patent Text Reader

Abstract

The present disclosure relates to the technical field of computers, and in particular to an agent configuration method, an electronic device, a storage medium, and a product. The agent configuration method comprises: displaying a configuration interface for an agent, the configuration interface comprising editable configuration information for the agent; displaying a preview interface associated with the configuration interface, the preview interface being a dialog interface between a user and the agent, and messages sent by the agent being generated on the basis of messages sent by the user and the configuration information; displaying, on the preview interface, a first message sent by the user; in response to the first message comprising an adjustment indication for the configuration information for the agent, determining adjustment content for the configuration information on the basis of the first message; and updating the configuration information on the basis of the adjustment content.
Need to check novelty before this filing date? Find Prior Art

Description

Method for configuring an agent, electronic device, storage medium and product

[0001] Cross-reference to Related Applications

[0002] This application is based on and claims priority to the application with the Chinese application number 202411388319.6 and the filing date of September 30, 2024, the disclosure of which is hereby incorporated by reference in its entirety into this application. TECHNICAL FIELD

[0003] The present disclosure relates to the technical field of computer, and particularly relates to a method for configuring an agent, an electronic device, a storage medium and a product. BACKGROUND

[0004] An agent can also be called an intelligent robot or an intelligent virtual object. The agent is a virtual object generated based on computer technology and can interact with a user. The agent can give a corresponding response according to the interaction information input by the user. For example, in a dialogue scenario, the agent can generate a response message sent by the agent to the user according to a message sent by the user. Thus, the agent can realize various functions such as chatting with the user and helping the user solve problems. SUMMARY

[0005] This summary is provided to introduce a selection of concepts, which are further described below in the detailed description. This summary is not intended to identify key or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.

[0006] According to some embodiments of the present disclosure, a method for configuring an agent is provided, including: displaying a configuration interface of the agent, the configuration interface including editable configuration information of the agent; displaying a preview interface associated with the configuration interface, the preview interface being a dialogue interface of the user with the agent, a message sent by the agent being generated according to a message sent by the user and the configuration information; displaying the first message sent by the user in the preview interface; in response to the first message including an adjustment instruction of the configuration information of the agent, determining adjustment content of the configuration information based on the first message; and updating the configuration information based on the adjustment content.

[0007] According to some embodiments of the present disclosure, an electronic device is provided, including: a memory; and a processor coupled to the memory, the processor being configured to execute the method for configuring an agent of any embodiment described in the present disclosure based on instructions stored in the memory.

[0008] According to some embodiments of the present disclosure, a computer readable storage medium is provided, which stores a computer program. The computer program is executed by a processor to perform the configuration method of the agent according to any one of the embodiments of the present disclosure.

[0009] According to some embodiments of the present disclosure, a computer program product is provided. When the computer program product is run on a computer, the computer is caused to perform the configuration method of the agent according to any one of the embodiments of the present disclosure.

[0010] According to some embodiments of the present disclosure, a computer program is provided, which comprises instructions that, when executed by a processor, cause the processor to perform the configuration method of the agent according to any one of the embodiments of the present disclosure.

[0011] Other features, aspects, and advantages of the present disclosure will become apparent from the following detailed description of the exemplary embodiments of the present disclosure with reference made to the accompanying drawings. BRIEF DESCRIPTION OF DRAWINGS

[0012] The preferred embodiments of the present disclosure will be described herein below with reference to the accompanying drawings. The accompanying drawings are used in the provision of further understanding of the present disclosure, and together with the specific description below, form a part of the description. It will be appreciated that the accompanying drawings are only some embodiments of the present disclosure and do not constitute a limitation. In the drawings:

[0013] FIG. 1 shows a flowchart of a configuration method of an agent according to some embodiments of the present disclosure.

[0014] FIG. 2 shows a schematic diagram of a configuration interface of an agent according to some embodiments of the present disclosure.

[0015] FIG. 3 shows a schematic diagram of a preview interface of an agent according to some embodiments of the present disclosure.

[0016] FIG. 4 shows a flowchart of an adjustment method of configuration information according to some embodiments of the present disclosure.

[0017] FIG. 5 shows a flowchart of an adjustment method of configuration information according to some other embodiments of the present disclosure.

[0018] FIG. 6 shows a flowchart of an adjustment method of a configuration item according to some embodiments of the present disclosure.

[0019] FIG. 7 shows a structural schematic diagram of a configuration device of an agent according to some embodiments of the present disclosure.

[0020] FIG. 8 shows a structural schematic diagram of an electronic device according to some embodiments of the present disclosure.

[0021] FIG. 9 illustrates a structural diagram of a computer system according to some embodiments of the present disclosure.

[0022] It should be understood that the dimensions of the various portions shown in the attached drawings are shown for purposes of convenience and are not necessarily drawn to scale. Wherever possible, the same or similar reference numerals are used in different drawings to refer to the same or similar components. Thus, when a component is first defined in the specification in one drawing and then subsequently discussed in another drawing, the component is not necessarily redefined in the subsequent drawing. DETAILED DESCRIPTION

[0023] The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only some of the embodiments of the present disclosure, but not all the embodiments. The description of the embodiments below is actually only illustrative, but not as any limitation on 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 interpreted as being limited to the embodiments set forth herein.

[0024] It should be understood that the various steps in the method embodiments of the present disclosure can be performed in different orders and / or in parallel. In addition, the method embodiments can include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect. Unless otherwise specifically stated, the relative arrangement of components and steps, numerical expressions, and numerical values set forth in these embodiments should be interpreted as merely exemplary, not limiting the scope of the present disclosure.

[0025] The term "comprise" and variations of the term, such as "comprising", "includes", "including" and "contains", "containing", used throughout this disclosure are to be interpreted in an open, inclusive manner, i.e., "including, but not limited to". In addition, the term "comprise" and variations of the term, such as "comprising", "includes", "including" and "contains", "containing", used throughout this disclosure are to be interpreted in an open, inclusive manner, i.e., "comprising, but not limited to". Thus, "comprising" is synonymous with "including". The term "based on" means "based, at least in part, on".

[0026] Reference throughout this specification to "one embodiment", "some embodiments" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the application. The appearance of the phrases "in one embodiment", "in some embodiments" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment, although they can. Furthermore, the terms "a" or "an", as used herein, mean "one or more" when used in the context of expressing an quantity of items or amounts.

[0027] It should be noted that the terms “first”, “second”, and the like in the present disclosure are only used to distinguish different devices, modules or units, and are not intended to limit the order or interdependence of the functions performed by these devices, modules or units. Unless otherwise specified, the terms “first”, “second”, and the like are not intended to imply a given order or any other manner of given order in time, space, ranking, or any other manner.

[0028] It should be noted that the terms “one”, “multiple” in the present disclosure are illustrative rather than limiting, and those skilled in the art should understand that unless otherwise explicitly specified in the context, it should be understood as “one or more”.

[0029] The names of the messages or information exchanged between the plurality of devices in the embodiments of the present disclosure are only for illustrative purposes, and are not intended to limit the scope of the messages or information.

[0030] The embodiments of the present disclosure will be described in detail below with reference to 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 can not be described in some embodiments. In addition, in one or more embodiments, specific features, structures or characteristics can be combined by any suitable means from the present disclosure that will be clear to those skilled in the art.

[0031] In some applications, in addition to the agent provided by the application side, the user can also freely create an agent. For example, the user can open the configuration interface of the agent, and then input the configuration information of the agent in various configuration items, such as description, settings, and the like. Thus, when interacting with the user, the agent can feed back the response matched with the user's configuration to the user according to the configuration information.

[0032] However, there can still be some problems in the configuration and application of the agent.

[0033] Currently, the configuration of the agent is highly dependent on the configuration information provided by the user. The configuration information can be the description information input by the user for the agent to be created, such as how the personality is, what the background story is, and what the hobbies are. For some agents based on machine learning models, such as agents based on large language models (LLM) and foundation models, the configuration information provided by the user can be directly used as the input of the model. Therefore, if the user provides more accurate and effective configuration information, the generated agent can be closer to the user's needs.

[0034] Some users lack experience in creating an agent, or are not very good at language expression, so that the configuration information input by the user does not accurately convey the user's intention. Or, the user input configuration information is very little, and the effective configuration information is lacking, so that the created agent has no distinctive features.

[0035] Thus, it can lead to low usage rate of the agent after creation. If the agent is not used, the creation process of the agent and the process of storing the agent and its related data will waste computing resources, network resources, etc. Therefore, the configuration efficiency of the agent is relatively low.

[0036] Of course, if the user is not satisfied during use after the agent is created, the agent can be further modified. However, there are multiple other interfaces between the use interface and the configuration interface of the agent, that is, multiple jumps are required to go from one of the use interface and the configuration interface to the other. For example, in the case where the use interface of the agent is a dialogue interface, it is necessary to first exit the dialogue interface to return to the home page, and then enter the setting interface, and then find the agent, and then open the configuration interface of the agent.

[0037] Therefore, even if it can be modified after creation, the configuration efficiency of the agent is still relatively low.

[0038] In order to at least partially solve the above problems, the present disclosure provides an agent configuration method and related equipment to improve the configuration efficiency of the agent, thereby saving computing resources and storage resources.

[0039] FIG. 1 shows a flowchart of an agent configuration method according to some embodiments of the present disclosure. As shown in FIG. 1, the configuration method of this embodiment includes steps S102-S110.

[0040] In step S102, a configuration interface of an agent is displayed, and the configuration interface includes editable configuration information of the agent.

[0041] The configuration interface of the agent is used to configure the agent to be created or modified. The configuration interface can include one or more interactive controls, such as input controls, selection controls, etc., for receiving user input or selection of configuration information.

[0042] The configuration interface can include one or more configuration items, each of which can correspond to a type of configuration information. The configuration items include, for example, avatars, names, settings, opening lines, language styles, etc. Each configuration item can be associated with one or more controls for user input or selection of configuration information.

[0043] In step S104, a preview interface associated with the configuration interface is displayed, and the preview interface is a dialogue interface of the user with the agent.

[0044] The message sent by the agent is generated according to the message sent by the user and the configuration information. For example, in the case where the agent generates the message by using the generative model, the generative model can be used to process the configuration information and the message sent by the user to obtain the generated message. Thus, the message sent by the agent can respond to the message sent by the user, and match the configuration information of the agent.

[0045] The preview interface is associated with the configuration interface, which means that the preview interface and the configuration interface have a direct relationship in the hierarchical structure. For example, at most one jump can be used to switch from one of the preview interface and the configuration interface to the other. Even, the preview interface and the configuration interface can be displayed in the same page. Thus, the configuration interface and the preview interface can be efficiently switched.

[0046] In some embodiments, the preview interface associated with the configuration interface is displayed in response to a specified operation of the user. The specified operation can be a triggering operation of the preview interface when the configuration interface is displayed. For example, the triggering operation is implemented by a triggering control on the configuration interface.

[0047] The preview interface can be used for previewing the agent to be created, that is, "testing" before the agent is really created, so as to confirm whether the configuration information of the agent needs to be further modified by the user. In the preview interface, the user can send a message to the agent. The message sent by the user can be at least one type of text, voice, image, video, file, etc.

[0048] In the case where the preview interface is displayed and the user has not sent any message, the agent can also actively send a message to the user based on the configuration information or the content of the default setting, for example, greeting the user, guiding the user to have a conversation with the agent, etc.

[0049] In step S106, the first message sent by the user is displayed in the preview interface. The first message is sent by the user to the agent.

[0050] In step S108, in response to the first message including an adjustment indication of the configuration information of the agent, the adjustment content of the configuration information is determined based on the first message.

[0051] In the actual use process of the agent, the message sent by the user to the agent is the content that the user really wants to chat. However, in the preview interface, on the one hand, the agent can imitate the actual use process to respond to the content sent by the user; on the other hand, in the case where the user sends a message through the preview interface to indicate that the configuration information of the agent needs to be adjusted, the adjustment content of the configuration information can be determined.

[0052] For example, the user wants the agent to be created to be an English oral English teacher, but the user only inputs an English teacher when inputting the configuration information. When the user discovers that the created agent is deficient in oral English when the user has a conversation with the agent in the preview interface, the user can directly send a message to the agent in the interface, such as "I hope you can help me improve my oral English knowledge". The adjustment content of the configuration information can be to add a description of oral English. The user can not need to determine how to describe the related content of oral English by himself, but directly expresses the intention in the chat manner to the agent in the preview interface as described in the above example. The agent can perform semantic understanding on the message sent by the user. And determine whether the user has the adjustment intention and the specific adjustment content according to the result of semantic understanding. The process of semantic understanding can be implemented by using a semantic analysis model or a generative model.

[0053] The adjustment content of the configuration information can include added content, deleted content, or modified content, and the like. The adjustment content can directly act on the configuration information, or can be a basis for generating new configuration information. For example, when the configuration information is multimedia content, the adjustment content can be prompt information (Prompt) for generating new multimedia content, so as to generate new configuration information by processing the prompt information by using a generative model.

[0054] In step S110, the configuration information is updated based on the adjustment content.

[0055] The adjustment content can be directly displayed to the user, or can not be displayed to the user. The adjustment content can be automatically updated, for example, automatically modified based on the adjustment content. The adjustment content can also be manually updated by the user, for example, in the case that the adjustment content is displayed to the user, the user can memorize the content by himself and input the content in the configuration interface. Or the user can copy the displayed content and paste it into the configuration interface.

[0056] Since the configuration interface and the preview interface are associated interfaces, even in the case that the user manually updates the configuration information, the user can quickly access the configuration interface, and therefore the operation efficiency of the user can be improved.

[0057] The above embodiment provides the configuration interface of the agent and the preview interface associated with the configuration interface, so that the user can quickly obtain the preview of the configuration effect of the agent in the preview interface during the process of configuring the agent. Moreover, the user can express the adjustment intention of the configuration information in the form of sending a message during the process of browsing the interface and chatting with the agent. Therefore, the user can be assisted to configure the agent during the process of testing the dialogue. Therefore, the efficiency of the user configuring the agent can be improved. Even the user who lacks the experience of configuring the agent can quickly complete the configuration process, and the accurate configuration also improves the use efficiency of the created agent.

[0058] FIG. 2 shows a schematic diagram of a configuration interface of an agent according to some embodiments of the present disclosure. As shown in FIG. 2, the configuration interface (or editing interface) 2 of this example includes editing controls corresponding to one or more configuration items, such as an image editing control 21, a name editing control 22, a setting editing control 23, an opening speech editing control 24, and the like.

[0059] In some embodiments, the configuration interface includes a first control for jumping to the dialogue interface.

[0060] In some embodiments, the configuration interface and the preview interface can be tabbed pages. For example, in FIG. 2, the editing tab control 26 and the preview tab control 27 are displayed in the configuration interface 2, where the editing tab control 26 is in an active state to indicate that the configuration interface is currently displayed. In response to the preview tab control 27 being triggered, the preview interface can be displayed. The preview tab control 27 can be regarded as a first control.

[0061] FIG. 3 shows a schematic diagram of a preview interface of an agent according to some embodiments of the present disclosure. In the preview interface 3 shown in FIG. 3, the user can send a message to the agent through the message sending control to test the agent. The dialogue generated between the user and the agent can be displayed in the preview interface 3. In FIG. 3, the messages sent by the agent are exemplarily displayed in a left-aligned manner, such as messages 31 and 33, and the messages sent by the user are exemplarily displayed in a right-aligned manner, such as messages 32, 34, and 35. The message 34 “I hope you can be my English oral teacher and practice oral English with me more often” includes an adjustment indication of the configuration information of the agent, i.e., the user expects the created agent to be an English oral teacher.

[0062] In some embodiments, the dialogue interface includes a second control for jumping to the configuration interface. For example, in FIG. 3, in response to the closing control 36 being triggered, the preview interface 3 can jump to the configuration interface 2.

[0063] In addition, the configuration interface and the preview interface can also be displayed simultaneously in one page. For example, the two interfaces are displayed in split screen, or one interface is displayed on the other interface in the form of a floating layer, and the like.

[0064] The adjusted configuration information can be updated and displayed in the configuration interface. In some embodiments, in the configuration interface, the configuration information updated based on the adjustment content is displayed.

[0065] For example, the configuration information can be automatically updated based on the adjustment content and displayed in the configuration interface. Thus, the user can reduce the workload of manual configuration, and the configuration efficiency of the agent is improved.

[0066] For example, in FIG. 2, the setting information of the agent is “You are my English teacher”. Through the dialogue shown in FIG. 3, the adjustment content of the configuration information is to modify “English teacher” to “English spoken language teacher”. Then, when the user returns to the configuration interface, the setting of the agent is automatically updated to “You are my English spoken language teacher; no word memorization”.

[0067] If it is desired to more explicitly notify the user of the adjustment content of the configuration information, the adjustment content can be displayed in the interface. The adjustment content can be displayed in any form. In some embodiments, it can be displayed in the form of a message sent by the agent to the user. For example, the second message sent by the agent to the user is displayed in the preview interface, and the second message includes the adjustment content of the configuration information.

[0068] That is, the agent can be configured to, after detecting the user's intention to adjust the configuration information, and after determining the adjustment content of the configuration information, generate a message sent by the agent to the user based on the adjustment content. For example, the adjustment content can be processed by using a generative model, and an indication of confirmation of the generated adjustment content can also be input into the model. So that the generated message can express the intention to confirm the adjustment content to the user.

[0069] Still taking the example in FIGS. 2 and 3, in the preview interface 3, the agent can send a message “Do you want to update my setting to ‘English spoken language teacher’?” or “My setting is updated to English spoken language teacher” to the user to notify the user of the adjustment content.

[0070] Two implementation manners are exemplarily described below with reference to FIGS. 4 and 5 respectively.

[0071] FIG. 4 shows a flow diagram of a method for adjusting configuration information according to some embodiments of the present disclosure. As shown in FIG. 4, the adjustment method of this embodiment includes steps S402 to S406.

[0072] In step S402, a second message sent by the agent to the user is displayed in the preview interface, and the second message includes the adjustment content of the configuration information.

[0073] In step S404, in the configuration interface, a user's editing operation on the configuration information is received, wherein the editing operation is determined according to the adjustment content. For example, after the second message is displayed, the user can return to the configuration interface from the preview interface and edit the configuration information.

[0074] The user's editing operation can be text editing or copy-paste, etc. For example, after seeing the adjustment content, the user can manually edit the configuration information according to the adjustment content, or the user can directly copy the displayed adjustment content and perform a paste operation in the configuration information interface, etc.

[0075] In step S406, the edited configuration information is displayed.

[0076] In this way, after seeing the adjustment content, the user can make further fine-tuning, and the user can make more flexible modifications. Therefore, the accuracy of the configuration can be improved.

[0077] FIG. 5 shows a flow diagram of a configuration information adjustment method according to some embodiments of the present disclosure. As shown in FIG. 5, the adjustment method of this embodiment includes steps S502-S506.

[0078] In step S502, the second message sent by the agent to the user is displayed in the preview interface, and the second message includes the adjustment content for the configuration information.

[0079] In step S504, the third message sent by the user is displayed in the preview interface.

[0080] The third message can be sent after the second message. The agent can send the adjustment content for the configuration information to the user through the second message. Based on this, the user can reply through the third message.

[0081] For example, the second message sent by the agent to the user is "Do you need to change my settings to...?", and the user can send a third message "OK" or the like to indicate confirmation.

[0082] In step S506, in response to the third message being a confirmation of the adjustment content, the configuration information is updated.

[0083] In this way, the user can have a dialogue with the agent through the preview interface to instruct the agent to adjust the configuration information and confirm the adjusted configuration information. In this way, the configuration information can be automatically updated without the user's modification, and the user's operation efficiency is improved.

[0084] The configuration information can be of multiple types. For example, the configuration information includes configuration information of at least one configuration item of an image, a sound, a dialogue of the agent. In some embodiments of the present disclosure, a first message sent by the user can be identified to determine the configuration item that needs to be adjusted.

[0085] FIG. 6 shows a flowchart of an adjustment method of a configuration item according to some embodiments of the present disclosure. As shown in FIG. 6, the adjustment method of this embodiment includes steps S602-S604.

[0086] In step S602, the type of the configuration item corresponding to the first message is identified.

[0087] For example, the first message or the key content in the first message can be processed by a natural language processing model, such as a semantic recognition model, a semantic understanding model, etc., to determine the type of the configuration item corresponding to the first message. The key content in the first message can be a keyword, a core word extracted from the first message, or a central semantic of the first message obtained by preprocessing.

[0088] For another example, the first message or the key content in the first message can be classified by a classification model.

[0089] In some embodiments, it is identified whether the first message includes an indication of the type of the configuration item; in response to the first message not including the indication of the type of the configuration item, the type of the configuration item corresponding to the first message is determined as a dialogue type; in response to the first message including the indication of the type of the configuration item, the type of the configuration item corresponding to the first message is determined based on the indication. Since the main function of the agent is to have a dialogue with the user, if the user indicates to adjust the agent but does not explicitly indicate which configuration item to adjust, it is determined that the user adjusts the dialogue type configuration item of the agent.

[0090] The dialogue type configuration item is used to affect the dialogue content of the agent. That is, the agent generates the dialogue based on the configuration information in the dialogue type configuration item when generating the dialogue. The dialogue type configuration item is used to configure at least one of the language, the attribute, and the knowledge base of the agent.

[0091] For example, if the first message is “you can be more gentle”, it includes an adjustment indication of the agent but does not explicitly indicate which type of configuration item to adjust, it can be considered that the user indicates the language style of the agent to be more gentle. If the first message is “your image can be more gentle”, it can be determined that the user indicates to adjust the image of the agent.

[0092] In step S604, according to the type, the first message, and the configuration information of the configuration item, the adjustment content of the configuration information of the configuration item is determined.

[0093] If the configuration item to be adjusted is a text type (for example, a dialogue type), the adjustment content of the configuration information can be the adjusted text itself. If the configuration item to be adjusted is a non-text type, the adjustment content of the prompt information of the configuration item can be generated. Thus, the configuration information of the configuration item can be regenerated based on the adjusted prompt information, for example, an image, a sound, and the like.

[0094] The above embodiments can automatically identify the configuration item that the user wants to adjust, and automatically generate the adjustment content matched with the configuration item. Thus, the user can only express the adjustment requirement through the first message, and which configuration item is specifically adjusted is automatically determined, so that the configuration efficiency of the user is improved.

[0095] In some embodiments, in response to the user completing the configuration of the agent, the agent is created based on the configuration information. For example, in FIG. 2, in response to the user triggering the control 25, the configuration process can be completed; for another example, in FIG. 3, in response to the user triggering the control 37, the configuration process can be completed. After the configuration is completed, the agent can be formally put into use, for example, interact with the user in a dialogue interface, or be published for use by other users.

[0096] After the automatic update of the configuration information in the configuration interface by the method of the embodiments of the present disclosure, the user can further modify the configuration information in the configuration interface as needed. That is, the user can explicitly understand the result after the update, and further edit on this basis. In this way, the configuration efficiency can be improved while making the configuration information more accurate.

[0097] The above describes the embodiments of the configuration method of the present disclosure. The following further describes the apparatus for implementing the above various embodiments.

[0098] FIG. 7 shows a structural schematic diagram of an agent configuration apparatus according to some embodiments of the present disclosure. As shown in FIG. 7, the configuration apparatus 70 of this embodiment includes: a display module 701 configured to display a configuration interface of an agent, the configuration interface including editable configuration information of the agent; display a preview interface associated with the configuration interface, the preview interface being a dialogue interface of the user with the agent, the message sent by the agent being generated according to the message sent by the user and the configuration information; display a first message sent by the user in the preview interface; a determination module 702 configured to, in response to the first message including an adjustment instruction of the configuration information of the agent, determine an adjustment content of the configuration information based on the first message; and an update module 703 configured to update the configuration information based on the adjustment content.

[0099] In some embodiments, the updating module 703 is further configured to display, in the configuration interface, the configuration information updated based on the adjustment content.

[0100] In some embodiments, the display module 701 is further configured to display, in the preview interface, a second message sent by the agent to the user, the second message including the adjustment content of the configuration information.

[0101] In some embodiments, the updating module 703 is further configured to receive, in the configuration interface, an editing operation of the configuration information by the user, wherein the editing operation is determined according to the adjustment content; and the display module 701 is further configured to display the edited configuration information.

[0102] In some embodiments, the updating module 703 is further configured to display, in the preview interface, a third message sent by the user; and in response to the third message being a confirmation of the adjustment content, update the configuration information.

[0103] In some embodiments, the configuration information includes configuration information of at least one configuration item in an image, a sound, and a dialogue of the agent; and the determining module 702 is further configured to identify a type of the configuration item corresponding to the first message; and determine the adjustment content of the configuration information of the configuration item according to the first message and the configuration information of the configuration item.

[0104] In some embodiments, the determining module 702 is further configured to identify whether the first message includes an indication of the type of the configuration item; in response to the first message not including the indication of the type of the configuration item, determine the type of the configuration item corresponding to the first message as a dialogue type; and in response to the first message including the indication of the type of the configuration item, determine the type of the configuration item corresponding to the first message based on the indication.

[0105] In some embodiments, the configuration item of the dialogue type is used to configure at least one of a language, an attribute, and a knowledge base of the agent.

[0106] In some embodiments, the configuration interface includes a first control for jumping to a dialogue interface; and the dialogue interface includes a second control for jumping to the configuration interface.

[0107] In some embodiments, the configuration interface and the preview interface are displayed simultaneously in one page.

[0108] In some embodiments, the configuration apparatus 70 further includes a creating module 704 configured to create the agent based on the configuration information in response to the user completing the configuration of the agent.

[0109] It should be noted that the above-described various units are only logical modules according to the specific functions implemented by them, and are not intended to limit the specific implementation manners, for example, they can be implemented in software, hardware or a combination of software and hardware. In actual implementation, the above-described various units 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-described various units are indicated by dashed lines in the drawings, indicating that these units can not actually exist, and the operations / functions implemented by them can be implemented by the processing circuit itself.

[0110] In addition, although not shown, the device can also include a memory, which can store various information generated by the device, the various units included in the device in operation, programs and data for operation, data to be transmitted by the communication unit, etc. The memory can be a volatile memory and / or a non-volatile memory. For example, the memory can include, but is not limited to, a random access memory (RAM), a dynamic random access memory (DRAM), a static random access memory (SRAM), a read-only memory (ROM), a flash memory. Of course, the memory can also be located outside the device. Alternatively, although not shown, the device can also include a communication unit, which can be used for communication with other devices. In one example, the communication unit can be implemented in a suitable manner known in the art, for example, including communication components such as an antenna array and / or a radio frequency link, various types of interfaces, communication units, etc. Here will not be described in detail. In addition, the device can also include other components not shown, such as a radio frequency link, a baseband processing unit, a network interface, a processor, a controller, etc. Here will not be described in detail.

[0111] Some embodiments of the present disclosure also provide an electronic device. FIG. 8 shows a structural schematic diagram of an electronic device according to some embodiments of the present disclosure. For example, in some embodiments, the electronic device 8 can be various types of devices, for example, can include but is not limited to various types of mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablets), PMPs (portable multimedia players), vehicle terminals (such as vehicle navigation terminals), etc., and various types of fixed terminals such as digital TVs, desktop computers, etc. For example, the electronic device 8 can include a display panel for displaying data and / or execution results utilized in the scheme according to the present disclosure. For example, the display panel can be various shapes, such as a rectangular panel, an oval panel, or a polygonal panel, etc. In addition, the display panel can not only be a flat panel, but also a curved panel, or even a spherical panel.

[0112] As shown in FIG. 8, the electronic device 8 of this embodiment includes a memory 81 and a processor 82 coupled to the memory 81. It should be noted that the components of the electronic device 8 shown in FIG. 8 are only exemplary and non-limiting, and the electronic device 8 can also have other components according to actual application needs. The processor 82 can control other components in the electronic device 8 to perform desired functions.

[0113] In some embodiments, the memory 81 is configured to store one or more computer readable instructions. When the processor 82 executes the computer readable instructions, the computer readable instructions are executed by the processor 82 to implement the method according to any of the above embodiments. For specific implementation of each step of the method and related explanations, please refer to the above embodiments, and the repeated parts will not be described here.

[0114] For example, the processor 82 and the memory 81 can directly or indirectly communicate with each other. For example, the processor 82 and the memory 81 can communicate through a network. The network can include a wireless network, a wired network, and / or any combination of a wireless network and a wired network. The processor 82 and the memory 81 can also communicate with each other through a system bus, and the present disclosure does not limit the processor 82 and the memory 81.

[0115] For example, the processor 82 can be embodied as various appropriate processors, processing devices, etc., such as a central processing unit (CPU), a graphics processing unit (GPU), a network processing unit (NP), etc.; and can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic component, a discrete hardware component. The central processing unit (CPU) can be X86 or ARM architecture, etc. For example, the memory 81 can include any combination of various forms of computer readable storage media, such as volatile memory and / or non-volatile memory. The memory 81 may, for example, include a system memory, which may, for example, store an operating system, application programs, a boot loader, a database, and other programs, etc. Various application programs and various data, etc. can also be stored in the storage medium.

[0116] In addition, according to some embodiments of the present disclosure, various operations / processes according to the present disclosure, when implemented by software and / or firmware, can be installed from a storage medium or a network to a computer system with a dedicated hardware structure, such as the computer system 90 shown in FIG. 9, which, when various programs are installed, can perform various functions, including functions such as those described above, etc. FIG. 9 shows a structural schematic diagram of a computer system according to some embodiments of the present disclosure.

[0117] In FIG. 9, a central processing unit (CPU) 901 performs various processes in accordance with a program stored in a read only memory (ROM) 902 or a program loaded from a storage section 908 to a random access memory (RAM) 903. In the RAM 903, data required when the CPU 901 performs various processes and the like is also stored as necessary. The central processing unit is merely exemplary, and can be other types of processors, such as the various processors described above. The ROM 902, the RAM 903, and the storage section 908 can be various forms of computer readable storage media, as described below. Note that, although the ROM 902, the RAM 903, and the storage section 908 are shown separately in FIG. 9, one or more of them can be combined or located in the same or different memory or storage modules.

[0118] The CPU 901, the ROM 902, and the RAM 903 are connected to each other via a bus 904. An input / output interface 905 is also connected to the bus 904.

[0119] The following components are connected to the input / output interface 905: an input section 906, such as a touch panel, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, and the like; an output section 907, including a display, such as a cathode ray tube (CRT), a liquid crystal display (LCD), a speaker, a vibrator, and the like; a storage section 908, including a hard disk, a magnetic tape, and the like; and a communication section 909, including a network interface card, such as a LAN card, a modem, and the like. The communication section 909 allows communication processing to be performed via a network, such as the Internet. It is readily understood that, although the various devices or modules in the computer system 90 are shown in FIG. 9 as communicating via the bus 904, they can also communicate through a network or other means, where the network can include a wireless network, a wired network, and / or any combination of a wireless network and a wired network.

[0120] A drive 910 is also connected to the input / output interface 905 as necessary. A removable medium 911, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, and the like, is attached to the drive 910 as necessary, so that a computer program read therefrom is installed in the storage section 908 as necessary.

[0121] In the case where the above series of processes are implemented by software, the program constituting the software can be installed from a network such as the Internet or a storage medium such as the removable medium 911.

[0122] According to embodiments of the present disclosure, the processes described above with reference to the flowcharts can be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product including a computer program carried on a computer-readable medium, the computer program containing program code for executing the methods illustrated by the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network by the communication section 909, or installed from the storage section 908, or installed from the ROM 902. When the computer program is executed by the CPU 901, the above-described functions defined in the methods of the embodiments of the present disclosure are executed.

[0123] Note that, in the context of the present disclosure, a computer-readable medium can be a tangible medium that can contain or store a program for use by or in connection with an instruction execution system, apparatus, or device. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium or any combination of the two. The computer-readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the above. More specific examples of the computer-readable storage medium can include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, the computer-readable storage medium can be any tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device. In the present disclosure, the computer-readable signal medium can include a data signal carried in a baseband or as part of a carrier wave, in which the computer-readable program code is carried. Such a propagated data signal can take any of a variety of forms, including but not limited to electro-magnetic, optical, or any suitable combination thereof. The computer-readable signal medium can also be any computer-readable medium that is not a computer-readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to wire, cable, RF (radio frequency), or the like, or any suitable combination of the above.

[0124] The above-described computer-readable medium can be included in the above-described electronic device; or can exist separately from the electronic device without being incorporated into the electronic device.

[0125] In some embodiments, a computer program including instructions which, when executed by a processor, causes the processor to carry out the method of any of the above embodiments is also provided. For example, the instructions can be embodied in a computer program code.

[0126] In an embodiment of the disclosure, computer program code to carry out operations of the disclosure can be written in one or more programming languages, or combinations thereof, including object oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server. In the latter scenario, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider).

[0127] The flow diagrams and the block diagrams in the drawings are illustrations of possible architectures, functions, and operations for systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flow diagrams or block diagrams can represent a module, a segment, or a portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that in some alternative implementations, the functions noted in the blocks can occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently or the blocks may

[0128] The modules, components or units described in the embodiments of the present disclosure can be implemented by software or by hardware. In some cases, the name of the module, component or unit does not constitute a limitation on the module, component or unit itself.

[0129] The functionality described above in this document can be performed, at least in part, by one or more hardware logic components. For example, and without limitation, non- transitory machine-readable media can include RAM, ROM, programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), flash memory, compact disk read-only memory (CD-ROM), digital versatile disk (DVD), Blu-ray, or another non-transitory medium suitable for storing non-transitory program code, wherein the above aforementioned memory is on a machine readable medium.

[0130] The above description is only some embodiments of the present disclosure and an explanation of the principles of the technology used. Those skilled in the art should understand that the scope of the disclosure involved in the present disclosure is not limited to the technical solutions formed by the specific combinations of the above technical features, and should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with each other to form technical solutions with similar functions disclosed in the present disclosure (but not limited to).

[0131] In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the application can be practiced without these specific details. In other instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure the understanding of this description.

[0132] In addition, while operations are depicted in a particular order, this should not be understood as requiring these operations to be performed in the particular order shown or in sequential order, as some other operations can be performed in parallel or concurrently. Additionally, although described above in the context of certain implementations, it should be appreciated that certain features of the implementations described above can be combined with or substituted for features of other implementations described above. For example, the features of one implementation can be applied to another implementation. Furthermore, while the above examples are described in the context of particular implementations, those skilled in the art will appreciate that the above examples are illustrative only and not exclusive. Many other implementations are possible without departing from the scope of the disclosure. Accordingly, the scope of the disclosure is defined only by the claims.

[0133] While certain aspects of the present disclosure have been described above with particularity, it will be understood that the above examples are illustrative only and not restrictive. The scope of the disclosure should not be limited to the above examples, but rather encompasses any and all implementations within the scope of the appended claims.

Claims

1. A method for configuring an agent, comprising: displaying a configuration interface of an agent, the configuration interface comprising editable configuration information of the agent; displaying a preview interface associated with the configuration interface, the preview interface being a dialogue interface of a user with the agent, a message sent by the agent being generated according to a message sent by the user and the configuration information; displaying a first message sent by the user in the preview interface; in response to the first message comprising an indication of adjustment of the configuration information of the agent, determining adjustment content of the configuration information based on the first message; updating the configuration information based on the adjustment content.

2. The configuration method of claim 1, wherein, the updating the configuration information based on the adjustment content comprises: displaying the configuration information updated based on the adjustment content in the configuration interface. 3.The method of any one of claims 1 or 2, further comprising: displaying a second message sent by the agent to the user in the preview interface, the second message comprising the adjustment content of the configuration information.

4. The configuration method of claim 3, wherein, the updating the configuration information based on the adjustment content comprises: receiving an editing operation of the user on the configuration information in the configuration interface, wherein the editing operation is determined according to the adjustment content; displaying the edited configuration information.

5. The configuration method of claim 3, wherein, the updating the configuration information based on the adjustment content comprises: displaying a third message sent by the user in the preview interface; in response to the third message being a confirmation of the adjustment content, updating the configuration information.

6. The configuration method according to any one of claims 1 to 5, wherein, the configuration information comprises configuration information of at least one configuration item of an image, a sound, a dialogue of the agent, and the determining adjustment content of the configuration information based on the first message comprises: identifying a type of the configuration item corresponding to the first message; determining adjustment content of configuration information of the configuration item according to the type, the first message and the configuration information of the configuration item.

7. The configuration method of claim 6, wherein, the identifying a type of the configuration item corresponding to the first message comprises: identifying whether the first message comprises an indication of the type of the configuration item; in response to the first message not comprising the indication of the type of the configuration item, determining the type of the configuration item corresponding to the first message as a dialogue type; in response to the first message comprising the indication of the type of the configuration item, determining the type of the configuration item corresponding to the first message based on the indication.

8. The configuration method of claim 7, wherein, the configuration item of the dialogue type is used for configuring at least one of a language, an attribute, a knowledge base of the agent. 9.The method of any one of claims 1 to 8, wherein: the configuration interface comprises a first control for jumping to the dialogue interface; the dialogue interface comprises a second control for jumping to the configuration interface.

10. The configuration method according to any one of claims 1 to 9, wherein, the configuration interface and the preview interface are displayed simultaneously in one page. 11.The method of any one of claims 1 to 10, further comprising: in response to the user completing the configuration of the agent, creating an agent based on the configuration information. 12.An electronic device, comprising: a memory; and a processor coupled to the memory, the processor configured to perform the method of configuring an agent as claimed in any one of claims 1 to 11 based on instructions stored in the memory.

13. A computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of configuring an agent as claimed in any one of claims 1 to 11.

14. A computer program product causing a computer to implement the method of configuring an agent as claimed in any one of claims 1 to 11 when the computer program product is run on the computer.

15. A computer program comprising: instructions which, when executed by a processor, cause the processor to perform the method of configuring an agent as claimed in any one of claims 1 to 11.

Citation Information

Patent Citations

  • Virtual object configuration method, electronic equipment and computer readable storage medium

    CN116775179A

  • Multi-role intelligent dialogue method and device, electronic equipment and storage medium

    CN117743560A

  • Method and device for creating virtual object, equipment and storage medium

    CN118012318A

  • Method, device and equipment for publishing virtual object and storage medium

    CN118012559A

  • Intelligent agent configuration method, electronic equipment, storage medium and product

    CN118885606A