Intelligent agent-based service providing method and device, electronic equipment, storage medium and computer program product
Through the agent service provision method, the adaptive agent is automatically selected from multiple agents to provide services, solving the problem of cumbersome switching between different agents and improving the convenience of the agent's use.
Patent Information
- Application Number
- CN202411161853.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-22
- Publication Date
- 2024-11-26
AI Technical Summary
Users need to switch frequently when using different agent services, resulting in cumbersome and poor convenience.
Provide an agent-based service provision method, obtain user demand messages through the display service provision interface, interpret demand information, and automatically select adaptive agents to provide services from multiple agents, and support re-providing services and reviewing service content , agent switching, input method customization and termination of service and other options.
There is no need for the user to manually open different agents and automatically select the adaptive agent to provide services, which avoids the cumbersomeness of switching operations and improves the convenience of the agent to use.
Smart Images

Figure CN119024991A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and more specifically, to an agent-based service providing method, device, electronic device, storage medium, and computer program product. Background Art
[0002] In the context of the large language model, an AI agent can be understood as an agent that can autonomously understand, plan and make decisions, and perform complex tasks. It can perceive the external environment and make decisions through a simplified biological imitation architecture, and then interact with the surrounding environment. In addition, different agents can achieve different functions. For example, some agents can be used to book train tickets, some agents can be used to book conference rooms, and so on.
[0003] In the related art, when users have different needs, they need to manually open different agents to obtain corresponding services. If the user has many needs, they need to frequently switch between various agents, which makes the operation process of using different agent services more cumbersome and less convenient. Summary of the invention
[0004] The present invention provides a service providing method, device, electronic device, storage medium and computer program product based on an intelligent agent, so as to at least solve the problem in the above-mentioned related technologies that the operation process of users using different intelligent agent services is relatively cumbersome and inconvenient.
[0005] According to a first aspect of an embodiment of the present disclosure, there is provided a method for providing service based on an agent, comprising: displaying a service provision interface, wherein the service provision interface includes an agent dialogue area; obtaining a demand message input by a user in the agent dialogue area; interpreting the demand message to obtain information on a target demand; based on the information on the target demand, selecting a first agent from a plurality of agents for providing service for the target demand, wherein the plurality of agents are agents that can be called by a system for providing services; calling the first agent to provide service for the target demand, and displaying the corresponding first service content.
[0006] Optionally, the agent dialogue area also includes a re-providing service option; after displaying the corresponding first service content, the service providing method also includes: in response to a user's first input for the re-providing service option, re-calling the first agent to provide service to the target demand, and displaying a second service content re-provided by the first agent, wherein the second service content is different from the first service content.
[0007] Optionally, the agent dialogue area also includes a service content review option; the service providing method also includes: in response to a user's second input for the service content review option, switching to display different service contents, wherein the different service contents are different service contents provided by the same agent; or, different service contents provided by different agents.
[0008] Optionally, the agent dialogue area also includes an agent switching option; the service providing method also includes: in response to the user's third input for the agent switching option, displaying the identification information of the multiple agents; in response to the user's selection input for target identification information in the identification information of the multiple agents, calling the second agent indicated by the target identification information to provide service for the target demand, and displaying the corresponding third service content.
[0009] Optionally, the demand message contains identification information of a specified target intelligent agent; interpreting the demand message to obtain information about the target demand includes: extracting the identification information from the demand message; selecting a first intelligent agent for providing services for the target demand from a plurality of intelligent agents based on the information about the target demand includes: selecting the first intelligent agent indicated by the identification information from the plurality of intelligent agents based on the extracted identification information.
[0010] Optionally, the service provision interface also includes an agent details option; the service provision method also includes: in response to the user's fourth input for the agent details option, displaying detail information corresponding to each of the multiple agents, wherein the detail information includes at least one of the following items: the name of the agent, the agent's avatar, the agent's description information, and a status switch button for indicating the enabled status of the agent.
[0011] Optionally, the service provision interface also includes an input method customization option; the service provision method also includes: in response to the user's fifth input for the input method customization option, displaying relevant information of the currently existing first input method and / or relevant information of the currently addable second input method, wherein the input method is the input method of the demand message; when a delete input from the user for the first input method is detected, deleting the first input method; when an add input from the user for the second input method is detected, adding the second input method.
[0012] Optionally, the input method includes at least one of the following items: a text input method, a document input method, an audio input method, a video input method, and a user behavior capture input method.
[0013] Optionally, the agent dialogue area further includes a service termination option, and when the first agent provides a service, the service provision method further includes: in response to a sixth input from the user regarding the service termination option, terminating the process of the first agent providing the service.
[0014] Optionally, the service providing method further comprises: editing the agent in response to the user's editing input for the agent; wherein the editing input comprises modifying an agent among the multiple agents, deleting an agent among the multiple agents, and adding a new agent.
[0015] According to a second aspect of an embodiment of the present disclosure, there is provided a service providing device based on an agent, comprising: an interface display module, configured to display a service providing interface, wherein the service providing interface includes an agent dialogue area; a demand message acquisition module, configured to acquire a demand message input by a user in the agent dialogue area; an interpretation module, configured to interpret the demand message to obtain information on a target demand; an agent selection module, configured to select a first agent from a plurality of agents for providing a service for the target demand based on the information on the target demand, wherein the plurality of agents are agents that can be called by a system for providing services; and a first service content display module, configured to call the first agent to provide a service for the target demand and display the corresponding first service content.
[0016] Optionally, the agent dialogue area also includes a re-providing service option; the service providing device also includes: a second service content display module, configured to respond to the user's first input for the re-providing service option, re-call the first agent to provide service for the target demand, and display the second service content re-provided by the first agent, wherein the second service content is different from the first service content.
[0017] Optionally, the agent dialogue area also includes a service content review option; the service providing device also includes: a switching display module, configured to switch to display different service contents in response to a user's second input for the service content review option, wherein the different service contents are different service contents provided by the same agent; or, different service contents provided by different agents.
[0018] Optionally, the agent dialogue area also includes an agent switching option; the service providing device also includes: an identification information display module, configured to display the identification information of the multiple agents in response to the user's third input for the agent switching option; a third service content display module, configured to respond to the user's selection input for target identification information in the identification information of the multiple agents, call the second agent indicated by the target identification information to provide service for the target demand, and display the corresponding third service content.
[0019] Optionally, the demand message contains identification information of a specified target agent; the interpretation module is configured to extract the identification information from the demand message; and the agent selection module is configured to select the first agent indicated by the identification information from the multiple agents based on the extracted identification information.
[0020] Optionally, the service providing interface also includes an agent details option; the service providing device also includes: a details information display module, configured to display details information corresponding to each of the multiple agents in response to a fourth input from the user for the agent details option, wherein the details information includes at least one of the following items: the name of the agent, the avatar of the agent, the description information of the agent, and a status switch button for indicating the enabled status of the agent.
[0021] Optionally, the service provision interface also includes an input method customization option; the service provision device also includes: an input method display module, configured to display relevant information of a currently existing first input method and / or relevant information of a currently addable second input method in response to a fifth input of the user for the input method customization option, wherein the input method is the input method of the demand message; a deletion module, configured to delete the first input method when a deletion input of the user for the first input method is detected; and an addition module, configured to add the second input method when an addition input of the user for the second input method is detected.
[0022] Optionally, the input method includes at least one of the following items: a text input method, a document input method, an audio input method, a video input method, and a user behavior capture input method.
[0023] Optionally, the agent dialogue area also includes a service termination option. When the first agent provides a service, the service providing device also includes: a termination module, configured to terminate the process of the first agent providing the service in response to the user's sixth input for the service termination option.
[0024] Optionally, the service providing device also includes: an editing module, configured to edit the agent in response to the user's editing input to the agent; wherein the editing input includes modifying an agent among the multiple agents, deleting an agent among the multiple agents, and adding a new agent.
[0025] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the agent-based service provision method according to the present disclosure.
[0026] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the agent-based service providing method according to the present disclosure.
[0027] According to a fifth aspect of an embodiment of the present disclosure, there is provided a computer program product, comprising a computer program, which, when executed by a processor, implements the agent-based service providing method according to the present disclosure.
[0028] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects:
[0029] In the present disclosure, when a user has different needs, he only needs to input corresponding messages in the agent dialogue area based on each need, and an agent that matches the user's current needs can be automatically selected from multiple agents to provide services to the user. The user does not need to manually open different agents to obtain corresponding services, which avoids the tedious operation process of manually switching between various agents, thereby improving the convenience of using agents.
[0030] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.
[0032] Figure 1 is a flowchart illustrating an agent-based service providing method according to an exemplary embodiment of the present disclosure;
[0033] Figure 2 is a schematic diagram showing a default display page after a user logs into the system according to an exemplary embodiment of the present disclosure;
[0034] Figure 3 is a schematic diagram showing a service providing interface according to an exemplary embodiment of the present disclosure;
[0035] Figure 4 is a schematic diagram showing detailed information corresponding to a plurality of agents according to an exemplary embodiment of the present disclosure;
[0036] Figure 5 is a schematic diagram showing a designated agent of an intelligent service center according to an exemplary embodiment of the present disclosure;
[0037] Figure 6 is a schematic diagram showing that an agent can provide services again by operating a “re-provide service option” according to an exemplary embodiment of the present disclosure;
[0038] Figure 7 is a schematic diagram showing various input methods according to an exemplary embodiment of the present disclosure;
[0039] Figure 8 is a block diagram illustrating an agent-based service providing apparatus according to an exemplary embodiment of the present disclosure;
[0040] Fig. 9 is a block diagram illustrating an electronic device according to an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION
[0041] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.
[0042] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The implementation methods described in the following examples do not represent all implementation methods consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the attached claims.
[0043] It should be noted that the phrase "at least one of the items" in the present disclosure includes three types of parallel situations: "any one of the items", "a combination of any number of the items", and "all of the items". For example, "including at least one of A and B" includes the following three parallel situations: (1) including A; (2) including B; (3) including A and B. Another example is "executing at least one of step 1 and step 2" which means the following three parallel situations: (1) executing step 1; (2) executing step 2; (3) executing step 1 and step 2.
[0044] With the rapid development of artificial intelligence, the concept of artificial intelligence (AI Agent) has been proposed. In the context of the large language model, AI Agent can be understood as an intelligent agent that can autonomously understand, plan and make decisions, and perform complex tasks. It can perceive the external environment and make decisions through a simplified biological imitation architecture, thereby interacting with the surrounding environment.
[0045] Intelligent agents have gradually become an important branch of artificial intelligence, and have promoted technological innovation and application changes through good autonomy, creativity and collaboration. In addition, intelligent agents can not only solve complex problems independently, but also collaborate with humans and other platforms to improve efficiency and output, thereby gradually changing the way users work and live.
[0046] However, as more and more intelligent agents for different scenarios appear in users' work, study and life, the switching back and forth between different intelligent agents, the overlapping functions and application scenarios of different intelligent agents, the inability to circulate data between different intelligent agents, users' operating habits and design differences, etc., have gradually become obstacles for users to use intelligent agents.
[0047] In order to solve the above problems existing in the related art, the present disclosure provides an agent-based service providing method, device, electronic device, storage medium and computer program product. When a user has different needs, he only needs to input corresponding messages in the agent dialogue area based on each need, and an agent that matches the user's current needs can be automatically selected from multiple agents to provide services to the user. There is no need for the user to manually open different agents to obtain the corresponding services, which avoids the tedious operation process of manually switching between various agents, and improves the convenience of using agents.
[0048] Figure 1 is a flowchart illustrating an agent-based service providing method according to an exemplary embodiment of the present disclosure.
[0049] Reference Figure 1In step 101, a service provision interface may be displayed, wherein the service provision interface may include an agent dialogue area.
[0050] Figure 2 is a schematic diagram showing a default display page after a user logs into the system according to an exemplary embodiment of the present disclosure. Figure 2 , Figure 2 The left side of the system navigation bar contains multiple function options. Users can click on a function option to enter the corresponding function interface. Figure 2 The right side of the figure is the operation page of the intelligent agent collaboration, which can display the introduction information of the "intelligent agent scheduling system", that is, the "intelligent service center". In addition, an input box can be displayed at the bottom of the operation page of the intelligent agent collaboration. By inputting the demand message in the input box, the user can communicate with the intelligent service center to select an intelligent agent that meets the user's current needs from multiple intelligent agents to provide services for the user.
[0051] Figure 3 is a schematic diagram showing a service providing interface according to an exemplary embodiment of the present disclosure. Figure 3 The service provision interface may include a system navigation bar on the left and an agent dialogue area on the right.
[0052] According to an exemplary embodiment of the present disclosure, the above service providing interface may also include an agent details option. Figure 3 , the agent details option can be displayed in the upper right corner of the service provision interface.
[0053] In response to the user's fourth input for the agent details option, detailed information corresponding to each of the multiple agents can be displayed, wherein the detailed information can include at least one of the following items: the name of the agent, the agent's avatar, the agent's description information, and a status switch button for indicating the enabled status of the agent.
[0054] For example, refer to Figure 3 , the agent details option in the upper right corner of the service provider interface can display up to 5 avatars by default. If the total number of agents exceeds 5, the excess can be displayed through "+5". If the user clicks on the "+5", the detailed information corresponding to each agent in the total number of agents can be displayed through a pop-up window.
[0055] Figure 4 is a schematic diagram showing detailed information corresponding to a plurality of agents according to an exemplary embodiment of the present disclosure. Figure 4In the agent pop-up window, the corresponding detailed information of all created / downloaded agents can be displayed. In addition, each agent is enabled by default, and users can also choose to disable certain agents according to usage habits and scenarios. An agent in an "enabled state" can be understood as an agent that is currently allowed to be called; an agent in a "non-enabled state" can be understood as an agent that is currently not allowed to be called, and only when the user adjusts the status switch button of the agent from the off state to the on state, the agent is allowed to be called. In addition, the "call" here can refer to scheduling by the intelligent service center, or it can refer to manual specification by the user.
[0056] In this way, by providing an agent details option, users can conveniently view the detailed information corresponding to all agents, so that users can have an intuitive and clear understanding of the situation of each agent.
[0057] In step 102, the demand message input by the user in the agent dialogue area can be obtained. Figure 3 , the demand message entered by the user in the agent dialogue area can be: "Please help me book a first-class train ticket from Jilin to Hainan at 11:00 tomorrow morning."
[0058] In step 103, the demand message can be interpreted to obtain target demand information. That is, the "intelligent agent scheduling system", that is, the "intelligent service center" can interpret the demand message to obtain target demand information.
[0059] In step 104, based on information about the target demand, a first agent for providing services for the target demand may be selected from a plurality of agents, wherein the plurality of agents may be agents that can be called by a system for providing services.
[0060] It should be noted that an agent scheduling system, namely an intelligent service center, can be configured in the system. When a user sends a message or issues an instruction in the agent dialogue area, the intelligent service center will interpret the message and determine which agent should answer or complete the task.
[0061] For example, refer to Figure 3 , in response to the demand message sent by the user: "Please help me book a first-class train ticket from Jilin to Hainan at 11:00 am tomorrow", the intelligent service center can interpret the demand message and display a prompt message "Specifying an intelligent agent..." to remind the user that the intelligent service center is currently looking for an intelligent agent suitable for providing services to the user.
[0062] Figure 5 is a schematic diagram showing a designated agent of an intelligent service center according to an exemplary embodiment of the present disclosure. Figure 5 , the intelligent service center sent a reply message: "@Booking Train Tickets Agent has been designated to answer your questions", indicating that the intelligent service center selected the "Booking Train Tickets" agent from multiple agents to provide services to users.
[0063] Furthermore, the first service content provided by the "Book Train Tickets" agent in response to user needs may be: "Train tickets, departure place: Jilin, destination: Hainan, route: YYY, departure time: 11:30, seat level: first class".
[0064] According to an exemplary embodiment of the present disclosure, the demand message may further include identification information for specifying a target agent, that is, the demand message may further include identification information for specifying an agent to be called. Exemplarily, the identification information may be the name of the agent. Then, the identification information may be extracted from the demand message. Next, based on the extracted identification information, a first agent indicated by the identification information may be selected from a plurality of agents.
[0065] Exemplarily, the demand message may also include a specific symbol, which may be used to indicate the desire to call a certain agent, that is, the specific symbol may be used to indicate the user's intention to call a certain agent. For example, the specific symbol may be, but is not limited to, the "@" symbol. At this time, the intelligent service center may select the agent indicated by the identification information from multiple agents based on the specific symbol and the identification information included in the demand message to provide services to the user.
[0066] Thus, in the present disclosure, the user can directly specify an agent instead of scheduling the agent through the agent center, which provides another way to specify the agent. In this way, the user can directly select the agent of his choice to provide services for him, thus avoiding the phenomenon that the intelligent service center interprets the user's needs inaccurately and causes the selected agent to not meet the user's actual needs.
[0067] According to an exemplary embodiment of the present disclosure, in response to the user's editing input for the agent, the agent can also be edited, wherein the "editing input" can include modifying an agent among multiple agents, deleting an agent among multiple agents, adding a new agent, and the like.
[0068] In this way, in the present disclosure, users can also modify, delete, and add intelligent agents at will according to their own needs, which can make the management of intelligent agents more flexible, thereby ensuring the accuracy and adaptability of intelligent agent services.
[0069] In step 105, the first agent may be called to provide services for the target demand, and the corresponding first service content may be displayed.
[0070] For example, as mentioned above, in response to the demand message sent by the user in the agent dialogue area: "Help me book a first-class train ticket from Jilin to Hainan at 11:00 tomorrow morning", the intelligent service center can call the "book train tickets" agent to provide services to the user. In addition, the first service content provided by the "book train tickets" agent in response to the user's needs can be: "Train tickets, departure place: Jilin, destination: Hainan, route: YYY, departure time: 11:30, seat level: first class".
[0071] According to an exemplary embodiment of the present disclosure, the above-mentioned agent dialogue area may also include a "re-provide service option". After the corresponding first service content is displayed, in response to the user's first input for the "re-provide service option", the first agent may be re-called to provide service for the target demand, and the second service content re-provided by the first agent may be displayed, wherein the second service content is different from the first service content.
[0072] Figure 6 is a schematic diagram showing that an agent can re-provide service by operating a "re-provide service option" according to an exemplary embodiment of the present disclosure. Figure 6 If the user is not satisfied with the first service content provided by the aforementioned "Book Train Tickets" agent: "Train Tickets, Departure Place: Jilin, Destination: Hainan, Via: YYY, Departure Time: 11:30, Seat Level: First Class", then the user can click Figure 6 At this time, the "Book Train Tickets" agent can be re-called to provide the user with the service of booking train tickets. Exemplarily, the second service content re-provided by the "Book Train Tickets" agent can be: "Train tickets, departure place: Jilin, destination: Hainan, departure time: 11:10, seat level: first class".
[0073] In this way, in the present disclosure, if the user is not satisfied with the first service content currently provided by the intelligent agent, he or she can also choose to re-call the intelligent agent to provide the service again, which can ensure that the service content provided by the intelligent agent can meet the actual needs of the user as much as possible, thereby ensuring the service quality and user satisfaction of the intelligent agent.
[0074] According to an exemplary embodiment of the present disclosure, the above-mentioned agent dialogue area may also include a "service content review option". In response to the user's second input for the "service content review option", different service contents may be switched for display, wherein the different service contents may be different service contents provided by the same agent; or may be different service contents provided by different agents. Even if the agent providing the service has been deleted, the service content previously provided by it may be reviewed.
[0075] For example, refer to Figure 6 If the user wants to view different service contents, he can click on the "Service Content Review Option" in the agent dialogue area. At this time, you can switch to display different service contents. For example, as mentioned above, the second service content provided by the "Book Train Tickets" agent is: "Train Tickets, Departure: Jilin, Destination: Hainan, Departure Time: 11:10, Seat Level: First Class". If the user wants to view the first service content previously provided by the "Book Train Tickets" agent, he can click on the above-mentioned "Service Content Review Option" to view the first service content provided by the "Book Train Tickets" agent: "Train Tickets, Departure: Jilin, Destination: Hainan, Via: YYY, Departure Time: 11:30, Seat Level: First Class".
[0076] Furthermore, the total number of all currently provided service contents and the order of the currently displayed service contents among all currently provided service contents may also be displayed in the "service content review option", wherein the earlier the service content is provided, the higher the order of the corresponding service content may be. Figure 6 In the "Service Content Review Options", the total number of all service contents currently provided is: 2; the currently displayed service content "Train ticket, departure place: Jilin, destination: Hainan, via: YYY, departure time: 11:30, seat level: first class" is ranked first.
[0077] In this way, by providing the option to review service content, users can review different service contents, making it easier for users to compare different service contents and then select the service content that best meets their needs, which can improve the service quality and user satisfaction of the intelligent body.
[0078] According to an exemplary embodiment of the present disclosure, the above-mentioned agent dialogue area may also include an "agent switching option". In response to the user's third input for the "agent switching option", identification information of multiple agents may be displayed. In response to the user's selection input for target identification information among the identification information of multiple agents, the second agent indicated by the target identification information may be called to provide services for the target demand, and the corresponding third service content may be displayed.
[0079] For example, refer to Figure 6 If the user does not want to use the current agent, they can click Figure 6In the “Agent Switching Options”, the identification information of multiple agents can be displayed. For example, the “identification information of multiple agents” can include: “Booking an available meeting room” agent, “Ordering skin care products” agent, “Weather forecast” agent, etc. Then, the user can select a satisfactory agent from these multiple agents to provide services for him / her according to his / her needs.
[0080] Thus, in the present disclosure, if the user is not satisfied with the current intelligent agent, he or she can also select other intelligent agents to provide services for him or her according to his or her own needs, and the autonomy and flexibility of selecting intelligent agents are better.
[0081] According to an exemplary embodiment of the present disclosure, the above service providing interface may further include an "input method customization option". Figure 3 , Figure 5 or Figure 6 , a “+Input method” option is displayed above the input box at the bottom of the service provision interface, and the “+Input method” option is the above-mentioned “input method customization option”.
[0082] In response to the user's fifth input for the "input method customization option", relevant information of the currently existing first input method and / or relevant information of the currently addable second input method may be displayed, wherein the input method may be the input method of the above-mentioned demand message. Furthermore, in the case of detecting the user's deletion input for the first input method, the first input method may be deleted; in the case of detecting the user's addition input for the second input method, the second input method may be added.
[0083] In this way, in the present disclosure, users can customize the input method according to their own usage habits and operating methods, and the autonomy and flexibility of defining the input method are better.
[0084] According to an exemplary embodiment of the present disclosure, the above-mentioned input method may include at least one of the following items: a text input method, a document input method, an audio input method, a video input method, a user's behavior capture input method, and the like.
[0085] For example, Figure 7 is a schematic diagram showing various input methods according to an exemplary embodiment of the present disclosure. Figure 7 , a pop-up window may be displayed on the above service providing interface, and the currently existing input methods and the newly added input methods may be displayed in the pop-up window. In addition, for the currently existing input methods, there may be a corresponding remove button, and the user can remove the corresponding input method by clicking the remove button; or, for the newly added input methods, there may be a corresponding add button, and the user can add the corresponding input method by clicking the add button.
[0086] In this way, in the present disclosure, a variety of input methods are provided for users to choose from, so that users can choose an input method suitable for them to send demand messages according to actual conditions, which can improve the convenience and flexibility of sending demand messages.
[0087] According to an exemplary embodiment of the present disclosure, the agent dialogue area may further include a “termination service option.” When the first agent provides a service, in response to a sixth input from the user to the “termination service option,” the process of the first agent providing the service may be terminated.
[0088] For example, refer to Figure 5 , the intelligent service center currently selects the "booking train tickets" agent to provide services to users. If the user wants to terminate the service process of the "booking train tickets" agent, he can click Figure 5 At this point, the service process of the "booking train tickets" agent can be terminated.
[0089] In this way, in the present disclosure, users can terminate the service process of the intelligent agent at any time according to their own needs, and the convenience and flexibility of using the intelligent agent are better.
[0090] Figure 8 is a block diagram illustrating an agent-based service providing apparatus according to an exemplary embodiment of the present disclosure.
[0091] Reference Figure 8 The agent-based service providing device 800 may include an interface display module 801, a demand message acquisition module 802, an interpretation module 803, an agent selection module 804 and a first service content display module 805.
[0092] The interface display module 801 can display a service provision interface, wherein the service provision interface may include an agent dialogue area.
[0093] According to an exemplary embodiment of the present disclosure, the above-mentioned service providing interface may also include an agent details option.
[0094] The service providing device 800 may further include a detailed information display module. In response to the user's fourth input for the agent details option, the detailed information display module may display detailed information corresponding to each agent in the plurality of agents, wherein the detailed information may include at least one of the following items: the name of the agent, the avatar of the agent, the description information of the agent, and a status switch button for indicating the enabled state of the agent.
[0095] In this way, by providing an agent details option, users can conveniently view the detailed information corresponding to all agents, so that users can have an intuitive and clear understanding of the situation of each agent.
[0096] The demand message acquisition module 802 can acquire the demand message input by the user in the agent dialogue area.
[0097] The interpretation module 803 can interpret the demand message to obtain the target demand information. That is, the "intelligent agent scheduling system", that is, the "intelligent service center" can interpret the demand message to obtain the target demand information.
[0098] The agent selection module 804 may select a first agent for providing services for the target demand from a plurality of agents based on information about the target demand, wherein the plurality of agents may be agents that can be called by a system for providing services.
[0099] It should be noted that an agent scheduling system, namely an intelligent service center, can be configured in the system. When a user sends a message or issues an instruction in the agent dialogue area, the intelligent service center will interpret the message and determine which agent should answer or complete the task.
[0100] According to an exemplary embodiment of the present disclosure, the demand message may also include identification information for specifying a target agent, that is, the demand message may also include identification information for specifying an agent to be called. Exemplarily, the identification information may be the name of the agent. Then, the interpretation module 803 may extract the identification information from the demand message. Next, the agent selection module 804 may select a first agent indicated by the identification information from a plurality of agents based on the extracted identification information.
[0101] Exemplarily, the demand message may also include a specific symbol, which may be used to indicate the desire to call a certain agent, that is, the specific symbol may be used to indicate the user's intention to call a certain agent. For example, the specific symbol may be, but is not limited to, the "@" symbol. At this time, the intelligent service center may select the agent indicated by the identification information from multiple agents based on the specific symbol and the identification information included in the demand message to provide services to the user.
[0102] Thus, in the present disclosure, the user can directly specify an agent instead of scheduling the agent through the agent center, which provides another way to specify the agent. In this way, the user can directly select the agent of his choice to provide services for him, thus avoiding the phenomenon that the intelligent service center interprets the user's needs inaccurately and causes the selected agent to not meet the user's actual needs.
[0103] According to an exemplary embodiment of the present disclosure, the service providing apparatus 800 may further include an editing module.
[0104] In response to the user's editing input for the agent, the editing module can also edit the agent, where the "editing input" can include modifying an agent among multiple agents, deleting an agent among multiple agents, adding a new agent, etc.
[0105] In this way, in the present disclosure, users can also modify, delete, and add intelligent agents at will according to their own needs, which can make the management of intelligent agents more flexible, thereby ensuring the accuracy and adaptability of intelligent agent services.
[0106] The first service content display module 805 can call the first agent to provide services for the target demand and can display the corresponding first service content.
[0107] According to an exemplary embodiment of the present disclosure, the agent dialogue area may further include a "re-providing service option", and the service providing device 800 may further include a second service content display module. After displaying the corresponding first service content, in response to the user's first input for "re-providing service option", the second service content display module may re-call the first agent to provide service for the target demand, and may display the second service content re-provided by the first agent, wherein the second service content is different from the first service content.
[0108] In this way, in the present disclosure, if the user is not satisfied with the first service content currently provided by the intelligent agent, he or she can also choose to re-call the intelligent agent to provide the service again, which can ensure that the service content provided by the intelligent agent can meet the actual needs of the user as much as possible, thereby ensuring the service quality and user satisfaction of the intelligent agent.
[0109] According to an exemplary embodiment of the present disclosure, the agent dialogue area may further include a "service content review option", and the service providing device 800 may further include a switching display module. In response to the user's second input for the "service content review option", the switching display module may switch to display different service contents, wherein the different service contents may be different service contents provided by the same agent; or may be different service contents provided by different agents.
[0110] Furthermore, the “service content review option” may also display the total number of all service contents currently provided and the order of arrangement of the currently displayed service content among all service contents currently provided, wherein the earlier the service content is provided, the higher the order of arrangement of the corresponding service content may be.
[0111] In this way, by providing the option to review service content, users can review different service contents, making it easier for users to compare different service contents and then select the service content that best meets their needs, which can improve the service quality and user satisfaction of the intelligent body.
[0112] According to an exemplary embodiment of the present disclosure, the above-mentioned agent dialogue area may further include an "agent switching option", and the above-mentioned service providing device 800 may further include an identification information display module and a third service content display module.
[0113] In response to the user's third input for the "agent switching option", the identification information display module can display the identification information of multiple agents. In response to the user's selection input for target identification information among the identification information of multiple agents, the third service content display module can call the second agent indicated by the target identification information to provide services for the target demand, and can display the corresponding third service content.
[0114] Thus, in the present disclosure, if the user is not satisfied with the current intelligent agent, he or she can also select other intelligent agents to provide services for him or her according to his or her own needs, and the autonomy and flexibility of selecting intelligent agents are better.
[0115] According to an exemplary embodiment of the present disclosure, the service providing interface may further include “input method customization options”, and the service providing device 800 may further include an input method display module, a deletion module, and an addition module.
[0116] In response to the user's fifth input for the "input method customization option", the input method display module can display relevant information of the currently existing first input method and / or relevant information of the currently addable second input method, wherein the input method can be the input method of the above-mentioned demand message. In addition, when the user's deletion input for the first input method is detected, the deletion module can delete the first input method; when the user's addition input for the second input method is detected, the addition module can add the second input method.
[0117] In this way, in the present disclosure, users can customize the input method according to their own usage habits and operating methods, and the autonomy and flexibility of defining the input method are better.
[0118] According to an exemplary embodiment of the present disclosure, the above-mentioned input method may include at least one of the following items: a text input method, a document input method, an audio input method, a video input method, a user's behavior capture input method, and the like.
[0119] In this way, in the present disclosure, a variety of input methods are provided for users to choose from, so that users can choose an input method suitable for them to send demand messages according to actual conditions, which can improve the convenience and flexibility of sending demand messages.
[0120] According to an exemplary embodiment of the present disclosure, the above-mentioned agent dialogue area may further include a "terminate service" option, and the above-mentioned service providing device 800 may further include a termination module.
[0121] When the first agent provides a service, in response to the user's sixth input for the "termination service option", the termination module can terminate the process of the first agent providing the service. In this way, in the present disclosure, the user can terminate the service process of the agent at any time according to his own needs, and the convenience and flexibility of using the agent are good.
[0122] Fig. 9 is a block diagram illustrating an electronic device 900 according to an exemplary embodiment of the present disclosure.
[0123] Reference Fig. 9 The electronic device 900 includes at least one memory 901 and at least one processor 902, wherein the at least one memory 901 stores instructions, and when the instructions are executed by the at least one processor 902, the agent-based service providing method according to the exemplary embodiment of the present disclosure is executed.
[0124] As an example, the electronic device 900 may be a PC, a tablet device, a personal digital assistant, a smart phone, or other device capable of executing the above instructions. Here, the electronic device 900 is not necessarily a single electronic device, but may also be any device or circuit capable of executing the above instructions (or instruction sets) individually or in combination. The electronic device 900 may also be part of an integrated control system or a system manager, or may be configured as a portable electronic device interconnected with a local or remote (e.g., via wireless transmission) interface.
[0125] In the electronic device 900, the processor 902 may include a central processing unit (CPU), a graphics processing unit (GPU), a programmable logic device, a dedicated processor system, a microcontroller or a microprocessor. As an example and not limitation, the processor may also include an analog processor, a digital processor, a microprocessor, a multi-core processor, a processor array, a network processor, etc.
[0126] The processor 902 may execute instructions or codes stored in the memory 901, wherein the memory 901 may also store data. Instructions and data may also be sent and received over a network via a network interface device, wherein the network interface device may employ any known transmission protocol.
[0127] The memory 901 may be integrated with the processor 902, for example, by placing RAM or flash memory within an integrated circuit microprocessor or the like. In addition, the memory 901 may include a separate device, such as an external disk drive, a storage array, or any other storage device that can be used by a database system. The memory 901 and the processor 902 may be operatively coupled, or may communicate with each other, such as through an I / O port, a network connection, etc., so that the processor 902 can read files stored in the memory.
[0128] In addition, the electronic device 900 may further include a video display (such as a liquid crystal display) and a user interaction interface (such as a keyboard, a mouse, a touch input device, etc.) All components of the electronic device 900 may be connected to each other via a bus and / or a network.
[0129] According to an exemplary embodiment of the present disclosure, a computer-readable storage medium may also be provided, and when the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the above-mentioned agent-based service providing method. Examples of computer-readable storage media here include: read-only memory (ROM), random access programmable read-only memory (PROM), electrically erasable programmable read-only memory (EEPROM), random access memory (RAM), dynamic random access memory (DRAM), static random access memory (SRAM), flash memory, non-volatile memory, CD-ROM, CD-R, CD+R, CD-RW, CD+RW, DVD-ROM, DVD-R, DVD+R, DVD-RW, DVD+RW, DVD-RAM, BD-ROM, BD-R, BD-R, BD-RW, etc. , BD-RE, Blu-ray or optical disk storage, hard disk drive (HDD), solid state drive (SSD), card storage (such as, multimedia card, secure digital (SD) card or extreme digital (XD) card), magnetic tape, floppy disk, magneto-optical data storage device, optical data storage device, hard disk, solid state disk and any other device, any other device is configured to store computer programs and any associated data, data files and data structures in a non-transitory manner and provide the computer programs and any associated data, data files and data structures to a processor or computer so that the processor or computer can execute the computer program. The computer program in the above-mentioned computer-readable storage medium can be run in an environment deployed in a computer device such as a client, a host, an agent device, a server, etc. In addition, in one example, the computer program and any associated data, data files and data structures are distributed on a networked computer system, so that the computer program and any associated data, data files and data structures are stored, accessed and executed in a distributed manner by one or more processors or computers.
[0130] According to an exemplary embodiment of the present disclosure, a computer program product may also be provided, including a computer program, and when the computer program is executed by a processor, the agent-based service providing method according to the present disclosure is implemented.
[0131] According to the agent-based service providing method, device, electronic device, storage medium and computer program product disclosed in the present invention, when a user has different needs, he only needs to input corresponding messages in the agent dialogue area based on each need, and an agent that matches the user's current needs can be automatically selected from multiple agents to provide services to the user. The user does not need to manually open different agents to obtain corresponding services, which avoids the tedious operation process of manually switching between various agents, thereby improving the convenience of using agents.
[0132] According to an exemplary embodiment of the present disclosure, by providing an agent details option, it is convenient for users to view the detailed information corresponding to all agents, so that users can have an intuitive and clear understanding of the situation of each agent.
[0133] According to an exemplary embodiment of the present disclosure, the user may not schedule an agent through the agent center, but may directly specify an agent, that is, another way of specifying an agent is provided. In this way, the user can directly select an agent of his / her choice to provide services for him / her, thus avoiding the phenomenon that the intelligent service center interprets the user's needs inaccurately and causes the selected agent to not meet the user's actual needs.
[0134] According to the exemplary embodiments of the present disclosure, users can also modify, delete, and add agents at will according to their own needs, which can make the management of agents more flexible and thus ensure the accuracy and adaptability of agent services.
[0135] According to an exemplary embodiment of the present disclosure, if the user is not satisfied with the first service content currently provided by the intelligent agent, he or she can also choose to re-call the intelligent agent to provide the service again, which can ensure that the service content provided by the intelligent agent can meet the actual needs of the user as much as possible, so as to ensure the service quality and user satisfaction of the intelligent agent.
[0136] According to an exemplary embodiment of the present disclosure, by providing a service content review option, users can review different service contents, which is convenient for users to compare different service contents and then select the service content that best meets their needs, thereby improving the service quality and user satisfaction of the intelligent body.
[0137] According to an exemplary embodiment of the present disclosure, if a user is not satisfied with the current agent, he or she may also select other agents to provide services for him or her according to his or her own needs, and the autonomy and flexibility of selecting an agent are better.
[0138] According to the exemplary embodiments of the present disclosure, users can customize input methods according to their own usage habits and operating methods, and the autonomy and flexibility of defining input methods are better.
[0139] According to the exemplary embodiments of the present disclosure, a variety of input methods are provided for users to choose from, so that users can choose an input method suitable for them to send demand messages according to actual conditions, which can improve the convenience and flexibility of sending demand messages.
[0140] According to the exemplary embodiments of the present disclosure, the user can terminate the service process of the intelligent agent at any time according to his / her own needs, and the convenience and flexibility of using the intelligent agent are good.
[0141] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0142] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A service providing method based on an agent, characterized in that: include: Displaying a service provision interface, wherein the service provision interface includes an agent dialogue area; Obtaining the demand message input by the user in the agent dialogue area; Interpreting the demand message to obtain target demand information; Based on the information of the target demand, selecting a first intelligent agent for providing a service for the target demand from a plurality of intelligent agents, wherein the plurality of intelligent agents are intelligent agents that can be called by a system for providing services; The first agent is called to provide services for the target demand and display corresponding first service content.
2. The service providing method according to claim 1, characterized in that: The agent dialogue area also includes a service content review option; The service providing method further includes: In response to the user's second input for the service content review option, different service contents are switched for display, wherein the different service contents are different service contents provided by the same intelligent entity; or, they are different service contents provided by different intelligent entities.
3. The service providing method according to claim 1, wherein: The agent dialogue area also includes an agent switching option; The service providing method further includes: In response to a third input of the user for switching options of the agent, displaying identification information of the plurality of agents; In response to the user's selection input of the target identification information among the identification information of the multiple agents, the second agent indicated by the target identification information is called to provide a service for the target demand, and the corresponding third service content is displayed.
4. The service providing method according to claim 1, wherein: The demand message includes identification information of a designated target intelligent agent; The interpreting of the demand message to obtain target demand information includes: Extracting the identification information from the demand message; The selecting, based on the information of the target demand, a first intelligent agent for providing a service for the target demand from a plurality of intelligent agents comprises: Based on the extracted identification information, the first agent indicated by the identification information is selected from the plurality of agents.
5. The service providing method according to claim 1, wherein: The service provision interface also includes an input mode customization option; The service providing method further includes: In response to a fifth input of the user for the input method customization option, displaying relevant information of a currently existing first input method and / or relevant information of a currently addable second input method, wherein the input method is an input method of the demand message; In the case of detecting a deletion input of the user for the first input method, deleting the first input method; When an additional input by the user for the second input method is detected, the second input method is added.
6. The service providing method according to claim 5, characterized in that: The input method includes at least one of the following items: Text input method, document input method, audio input method, video input method, and user behavior capture input method.
7. A service providing device based on an intelligent agent, characterized in that: include: An interface display module is configured to display a service provision interface, wherein the service provision interface includes an agent dialogue area; A demand message acquisition module, configured to acquire a demand message input by a user in the agent dialogue area; An interpretation module is configured to interpret the demand message to obtain target demand information; An agent selection module is configured to select a first agent for providing services for the target demand from a plurality of agents based on the information of the target demand, wherein the plurality of agents are agents that can be called by a system for providing services; The first service content display module is configured to call the first agent to provide service for the target demand and display the corresponding first service content.
8. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the agent-based service providing method as described in any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the agent-based service providing method as described in any one of claims 1 to 6.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the agent-based service providing method according to any one of claims 1 to 6 is implemented.
Citation Information
Cited By
Application operation method and electronic device
WO2026214253A1
