Intelligent agent-based information providing method and apparatus, and electronic device
By combining multiple agents on the client and server, parsing and matching the question information input by the user, and providing content information of multiple agents, the problem of insufficient diversity and accuracy of search results in the existing technology is solved, and the problem is achieved More efficient information search.
Patent Information
- Application Number
- CN202411044718.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2024-10-11
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing generative artificial intelligence platforms struggle to provide diverse and accurate search results in information search, and answers may not necessarily meet user expectations.
By combining multiple agents on the client and server, it parses the question information entered by the user, extracts keywords and matches the preset agents, provides content information of multiple agents, and sorts and displays the user's historical data.
Improved the diversity and accuracy of search results to better meet user needs.
Smart Images

Figure CN118761405A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of information search, and in particular to an agent-based information providing method, device and electronic equipment. Background Art
[0002] Large-model AI technology refers to the technology that uses large-scale neural network models to implement AI. The background of this technology is that with the continuous improvement of computer hardware and data storage capacity, people have begun to try to use more complex neural network models to implement more complex AI tasks, such as natural language processing, image recognition, speech recognition, etc. These large-scale neural network models usually require a large amount of data and computing resources to train, so they need to be implemented with the help of technologies such as cloud computing and distributed computing. The advantage of large-model AI technology is that it can simulate human intelligence to a certain extent, has strong generalization ability and robustness, and can show good performance in different tasks and scenarios.
[0003] Unlike artificial intelligence technology, search technology is an information retrieval technology that allows computers to quickly find the information users need from a large amount of information, thereby improving the efficiency and accuracy of information acquisition. Search technology is more about finding and matching the content users are looking for from existing information, while artificial intelligence technology is a technology that simulates human intelligence. It allows computers to have human-like thinking, learning, understanding, judgment, and reasoning capabilities, thereby achieving autonomous decision-making and problem-solving capabilities. Existing generative artificial intelligence platforms only give a generative answer based on user questions, and the answer may not necessarily meet user expectations. Summary of the invention
[0004] In view of this, an embodiment of the present invention provides an agent-based information providing method, device and electronic device, which can effectively improve the diversity and accuracy of search results.
[0005] In the first aspect, an embodiment of the present invention provides an agent-based information providing method, which is applied to a client, and includes: responding to a first question information input; sending the first question information to a server, so that the server parses the first question information to obtain question keywords in the first question information, and determining at least one target agent associated with the question keywords from a plurality of preset agents; receiving content information provided by at least one target agent for the question keywords sent by the server; and displaying the received content information in an information display area.
[0006] Optionally, the receiving content information provided by at least one target agent in response to the question keywords and sent by the server includes: receiving content information provided by each target agent determined by the server in response to the question keywords and sent by the server.
[0007] Optionally, the receiving of content information provided by at least one target agent in response to the question keywords sent by the server includes: receiving each target agent identifier sent by the server; in response to a selection operation on one of the target agent identifiers, sending the selected target agent identifier to the server; in response to input second question information, sending the second question information to the server so that the target agent corresponding to the selected target agent identifier provides content information based on the second question information; receiving content information provided by the target agent corresponding to the target agent identifier sent by the server in response to the second question information.
[0008] Optionally, the receiving of content information provided by at least one target agent for the question keyword sent by the server includes: the received content information is content information sorted by the server based on the first question information, the agent and / or historical data.
[0009] In a second aspect, an embodiment of the present invention provides an agent-based information providing method, which is applied to a server, and includes: receiving a first question message sent by a client; parsing the first question message to obtain question keywords in the first question message, and determining at least one target agent associated with the question keywords from a plurality of preset agents; each of the at least one target agent provides respective content information for the question keywords; and sending the content information provided by each of the at least one target agent for the question keywords to the client, so that the client displays the content information in an information display area.
[0010] Optionally, determining at least one target intelligent agent associated with the question keywords from a plurality of preset intelligent agents includes: in response to a first question message sent by a client, extracting at least one question keyword from the first question message as a first label sequence; matching the first label sequence with a second label sequence of a preset intelligent agent to obtain the at least one target intelligent agent.
[0011] Optionally, in response to the first question information sent by the client, at least one question keyword is extracted from the first question information as a first label sequence, including: directly extracting at least one question keyword from the first question information as the first label sequence; and / or parsing the first question information to obtain related information, and extracting at least one question keyword from the related information as the first label sequence.
[0012] Optionally, the matching of the first label sequence with the second label sequence of a preset intelligent agent to obtain the at least one target intelligent agent includes: matching each label in the first label sequence with each label in the second label sequence of a preset intelligent agent; if at least one label in the first label sequence successfully matches a label in the second label sequence, then taking the intelligent agent corresponding to the label in the second label sequence that matches the label in the first label sequence as the target intelligent agent.
[0013] Optionally, matching the first label sequence with a preset agent second label sequence to obtain the at least one target agent also includes: matching each label in the first label sequence with each label in a preset agent second label sequence; if all labels in the first label sequence cannot be successfully matched with labels in the second label sequence, all agents are taken as target agents.
[0014] Optionally, the content information provided by each target agent in the at least one target agent for the question keyword is sent to the client, including: sorting the respective content information provided by all target agents, and the sorting is based on the number of tags that successfully match the first tag sequence with the second tag sequence of each target agent and / or the client historical data.
[0015] Optionally, the content information provided by each target agent in the at least one target agent in response to the question keyword is sent to the client so that the client displays the content information in the information display area, and also includes: sending each target agent identifier to the client; receiving the target agent identifier selected by the client in response to the client's selection operation on at least one target agent identifier; receiving a second question information input by the client, the target agent corresponding to the selected target agent identifier providing content information in response to the second question information; and sending the content information provided by the target agent corresponding to the target agent identifier selected by the client in response to the second question information.
[0016] In a third aspect, an embodiment of the present invention provides an agent-based information providing device, which is applied to a client, and the information providing device includes: a response module, which is used to respond to an input first question information; a sending module, which is used to send the first question information to a server, so that the server parses the first question information, obtains question keywords in the first question information, and determines at least one target agent associated with the question keywords from a plurality of preset agents; a receiving module, which is used to receive content information provided by at least one target agent for the question keywords sent by the server; and a display module, which is used to display the received content information in an information display area.
[0017] Optionally, the receiving module is specifically used to receive content information sent by the server and provided by each target agent determined by the server in response to the question keywords.
[0018] Optionally, the receiving module includes: a first receiving unit for receiving target agent identifiers sent by the server; a responding unit for sending the selected target agent identifier to the server in response to a selection operation on one of the target agent identifiers; a sending unit for sending the second question information to the server in response to input second question information, so that the target agent corresponding to the selected target agent identifier provides content information based on the second question information; and a second receiving unit for receiving content information provided by the target agent corresponding to the target agent identifier sent by the server in response to the second question information.
[0019] Optionally, the receiving module includes: the received content information is content information sorted by the server based on the first question information, the agent and / or historical data.
[0020] In a fourth aspect, an embodiment of the present invention provides an agent-based information providing device, which is applied to a server, and the information providing device includes: a receiving module, which is used to receive a first question information sent by a client; a parsing module, which is used to parse the first question information, obtain question keywords in the first question information, and determine at least one target agent associated with the question keywords from a plurality of preset agents; an agent module, which is used for each target agent in the at least one target agent to provide respective content information for the question keywords; and a sending module, which is used to send the content information provided by each target agent in the at least one target agent for the question keywords to the client, so that the client displays the content information in the information display area.
[0021] Optionally, the parsing module includes: an extraction unit, used to extract at least one question keyword from the first question information as a first label sequence in response to the first question information sent by the client; and a matching unit, used to match the first label sequence with a second label sequence of a preset intelligent agent to obtain the at least one target intelligent agent.
[0022] Optionally, the extraction unit includes: a first extraction subunit, used to directly extract at least one question keyword from the first question information as a first label sequence; and / or a second extraction subunit, used to parse the first question information to obtain related information, and extract at least one question keyword from the related information as the first label sequence.
[0023] Optionally, the matching unit includes: a first matching subunit, used to match each label in the first label sequence with each label in a preset second label sequence of an intelligent agent; if at least one label in the first label sequence successfully matches a label in the second label sequence, the intelligent agent corresponding to the label in the second label sequence that matches the label of the first label sequence is used as the target intelligent agent.
[0024] Optionally, the matching unit also includes: a second matching subunit, used to match each label in the first label sequence with each label in a preset second label sequence of an intelligent agent; if all labels in the first label sequence cannot be successfully matched with labels in the second label sequence, all intelligent agents are used as target intelligent agents.
[0025] Optionally, the sending module includes: a sorting unit, used to sort the respective content information provided by all target intelligent entities, and the sorting is based on the number of tags that successfully match the first tag sequence with the second tag sequence of each target intelligent entity and / or the client historical data.
[0026] Optionally, the sending module further includes: A first sending unit, used to send each target agent identifier to the client; A receiving unit, configured to receive a target agent identifier selected by the client in response to a selection operation of the client on at least one target agent identifier; The agent unit is used to receive the second question information input by the client, and the target agent corresponding to the selected target agent identifier provides content information for the second question information; The second sending unit is used to send the content information provided by the target agent corresponding to the target agent identifier selected by the client in response to the second question information.
[0027] In a fifth aspect, an embodiment of the present invention provides an electronic device, comprising: a shell, a processor, a memory, a circuit board and a power supply circuit, wherein the circuit board is arranged inside the space enclosed by the shell, and the processor and the memory are arranged on the circuit board; the power supply circuit is used to supply power to various circuits or devices of the above-mentioned electronic device; the memory is used to store executable program code; the processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute the agent-based information providing method described in any one of the aforementioned embodiments.
[0028] The agent-based information providing method, device and electronic device provided by the embodiment of the present invention are applied to a client, respond to the first question information input; send the first question information to a server so that the server parses the first question information to obtain the question keywords in the first question information, and determine at least one target agent associated with the question keywords from multiple preset agents; receive the content information provided by at least one target agent for the question keywords sent by the server; and display the received content information in an information display area. Since multiple agents are combined in the search method, the diversity and accuracy of search results can be effectively improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0030] Figure 1 A flow chart of an agent-based information providing method provided by an embodiment of the present invention; Figure 2 A detailed flow chart of receiving content information provided by a target intelligent agent provided in an embodiment of the present invention; Figure 3 Another flow chart of an agent-based information providing method provided for an embodiment of the present invention.
[0031] Figure 4 A detailed flow chart for determining a target intelligent agent provided by an embodiment of the present invention; Figure 5 A detailed flow chart of a target agent sending content information to a client provided by an embodiment of the present invention; Figure 6 A structural diagram of an agent-based information providing device provided by an embodiment of the present invention; Figure 7 A detailed structural diagram of a receiving module provided by an embodiment of the present invention; Figure 8 Another structural diagram of an agent-based information providing device provided for an embodiment of the present invention.
[0032] Fig. 9 A detailed structural diagram of a sending module provided in an embodiment of the present invention; Fig.10 A schematic structural diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0033] An agent-based information provision solution provided by an embodiment of the present invention is described in detail below with reference to the accompanying drawings.
[0034] It should be clear that the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0035] Figure 1 A flow chart of an agent-based information providing method provided by an embodiment of the present invention. Figure 1 As shown, the information providing method of this embodiment is applied to a client, and the method may include the following steps: S101, responding to input first question information.
[0036] A search box can generally be set on the client, and the user enters text information in the search box as the first question information.
[0037] S102: Send the first question information to a server, so that the server parses the first question information to obtain question keywords in the first question information, and determines at least one target intelligent agent associated with the question keywords from a plurality of preset intelligent agents.
[0038] In one embodiment of the present invention, the user enters the first question information on the client and then searches. The input method can be manual input, voice input, photo input or other input methods. This solution does not limit this. The client sends the first question information to the server. A plurality of intelligent agents trained by artificial intelligence are preset in the server, and each intelligent agent is preset with a number of tags. After receiving the first question information sent by the client, the server extracts the question keywords from it and associates the keywords with the tags of the intelligent agent (i.e., matches them), thereby obtaining at least one target intelligent agent. For example, the user enters "What volunteer to apply for with 600 points in the college entrance examination" on the client, and the client sends it to the server. The server extracts the question keywords "college entrance examination", "apply for volunteer", and "600 points" from it. As long as the tags in the preset intelligent agent contain any one of "college entrance examination", "apply for volunteer", and "600 points", it can be used as the target intelligent agent.
[0039] S103: Receive content information provided by at least one target agent for the question keyword and sent by the server.
[0040] S104: Display the received content information in an information display area.
[0041] After determining the target agent, all target agents can give their own content information after comprehensively analyzing all the question keywords. For example, the server is preset with "Zhang XX Agent", which is generated by artificial intelligence after learning materials related to Zhang XX (including text, video, live broadcast, etc.), and its preset tags include "college entrance examination", "humor", "apply for volunteer" and other tags. If the first question information is "What major should I apply for with 600 points in the college entrance examination", the extracted question keywords are "college entrance examination", "apply for volunteer", and "600 points", among which "college entrance examination" and "apply for volunteer" are associated with "college entrance examination" and "apply for volunteer" in the tag of "Zhang XX Agent", so "Zhang XX Agent" is a target agent. After becoming the target agent, "Zhang XX Agent" will comprehensively analyze all the question keywords "college entrance examination", "apply for volunteer", and "600 points", and give answers with Zhang XX style as content information and return them to the client. After receiving the content information, the client will display it in the information display area, such as below the search box on the mobile phone screen.
[0042] The agent-based information providing method provided by the embodiment of the present invention is applied to a client, responds to a first question information input; sends the first question information to a server, so that the server parses the first question information, obtains the question keywords in the first question information, and determines at least one target agent associated with the question keywords from a plurality of preset agents; receives content information provided by at least one target agent for the question keywords sent by the server; and displays the received content information in an information display area. Since multiple agents are combined in the search method, the diversity and accuracy of search results can be effectively improved.
[0043] Optionally, in one embodiment of the present invention, the receiving of content information provided by at least one target agent in response to the question keywords and sent by the server (step S103) includes: receiving content information provided by each target agent determined by the server in response to the question keywords and sent by the server.
[0044] Optional, such as Figure 2 As shown, in one embodiment of the present invention, the receiving of content information provided by at least one target agent for the question keyword sent by the server (step S103) includes: S1031, receiving the identification of each target agent sent by the server; S1032, in response to a selection operation on one of the target intelligent agent identifiers, sending the selected target intelligent agent identifier to the server; S1033, in response to the input second question information, sending the second question information to the server, so that the target agent corresponding to the selected target agent identifier provides content information based on the second question information; S1034: Receive content information provided by the target agent corresponding to the target agent identifier sent by the server in response to the second question information.
[0045] For example, for the question "What major should I apply for with 600 points in the college entrance examination" sent by the client, there are three target agents associated in the server, namely "Zhang XX Agent", "College Entrance Examination Worry-Free Agent" and "College Entrance Examination Cheer Agent". The three target agents provide content information with their own styles for "What major should I apply for with 600 points in the college entrance examination". Each content information is also associated with the target agent identifier that provides the content information. After the user sees the content information provided by the three target agents in the client information display area, he or she is more interested in the content information provided by "Zhang XX Agent". The user clicks on the content information provided by "Zhang XX Agent" and sends the "Zhang XX Agent" identifier associated with the content information to the server. After receiving the identifier, the server establishes a connection between "Zhang XX Agent" and the client. At this time, the user can enter a second question information on the client, such as "Which schools can I choose for engineering?" The "Zhang XX Agent" gives content information in the style of Zhang XX based on the second question information and combined with the first question information.
[0046] Optionally, in one embodiment of the present invention, the receiving of content information provided by at least one target agent in response to the question keywords sent by the server (step S103) includes: the received content information is content information sorted by the server based on the first question information, the agent and / or historical data.
[0047] For example, the more question keywords extracted from the first question information are associated (i.e., matched) with words in the preset agent tag, the higher the ranking of the content information provided by the agent; or the more times a client uses a certain agent in historical data, the higher the ranking of the content information provided by the agent.
[0048] Furthermore, if Figure 3 As shown, in one embodiment of the present invention, a flow chart of an agent-based information providing method is provided. The information providing method of this embodiment is used on a server side, and the method comprises the following steps: S201: Receive first question information sent by a client.
[0049] S202: parse the first question information to obtain question keywords in the first question information, and determine at least one target intelligent agent associated with the question keywords from a plurality of preset intelligent agents.
[0050] S203: Each target intelligent agent in the at least one target intelligent agent provides respective content information for the question keyword.
[0051] S204: Send the content information provided by each target intelligent agent in the at least one target intelligent agent in response to the question keyword to the client, so that the client displays the content information in the information display area.
[0052] The agent-based information providing method provided by the embodiment of the present invention is applied to the server side, receiving the first question information sent by the client side; parsing the first question information to obtain the question keywords in the first question information, and determining at least one target agent associated with the question keywords from the preset multiple agents; each target agent in the at least one target agent provides respective content information for the question keywords; and each target agent in the at least one target agent sends the content information provided by each target agent in the at least one target agent for the question keywords to the client side, so that the client side displays the content information in the information display area. Since multiple agents are combined in the search method, the diversity and accuracy of search results can be effectively improved.
[0053] Optional, such as Figure 4 As shown, in one embodiment of the present invention, in step S202, determining at least one target agent associated with the question keyword from a plurality of preset agents includes: S2021. In response to first question information sent by the client, extract at least one question keyword from the first question information as a first tag sequence; S2022: Match any tag in the first tag sequence with a tag in a preset second tag sequence of an agent to obtain the at least one target agent.
[0054] For example, the first question information sent by the client is "What major should I apply for if I get 600 points in the college entrance examination?" The server extracts "college entrance examination," "apply for major," and "600 points" from the first question information as label words to form a first label sequence. There is also a label sequence corresponding to each agent in the preset intelligent agent. When any label in the first label sequence matches a label in the second label sequence, the intelligent agent corresponding to the second label sequence is the target intelligent agent, and there is at least one target intelligent agent.
[0055] Optionally, in an embodiment of the present invention, in response to the first question information sent by the client, extracting at least one question keyword from the first question information as the first tag sequence (step S2021) includes: directly extracting at least one question keyword from the first question information as the first tag sequence.
[0056] In another embodiment of the present invention, in response to the first question information sent by the client, extracting at least one question keyword from the first question information as the first tag sequence (step S2021), further includes: parsing the first question information to obtain associated information, and extracting at least one question keyword from the associated information as the first tag sequence. The server can extract the question keywords directly from the first question information, such as extracting the three keywords "college entrance examination", "apply for volunteers" and "600 points" from "what major to apply for with 600 points in the college entrance examination"; or first parse the first question information to obtain associated information, and then extract the question keywords from the management information. For example, if the first question information is "how to improve the first mock exam score of 530", after parsing by the server, the server obtains associated information such as "college entrance examination", "mock exam", "college entrance examination Chinese training", "college entrance examination English knowledge points" and "college entrance examination physics skills", and the server can extract the question keywords from the associated information to form the first tag sequence.
[0057] Optionally, in one embodiment of the present invention, the step of matching any tag in the first tag sequence with a tag in a preset second tag sequence of an intelligent agent to obtain the at least one target intelligent agent (step S2022) includes: matching each tag in the first tag sequence with each tag in a preset second tag sequence of an intelligent agent; if at least one tag in the first tag sequence successfully matches a tag in the second tag sequence, then taking the intelligent agent corresponding to the tag in the second tag sequence that matches the tag in the first tag sequence as the target intelligent agent.
[0058] Optionally, in one embodiment of the present invention, any tag in the first tag sequence is matched with a tag in a preset agent second tag sequence to obtain the at least one target agent (step S2022), and further includes: matching each tag in the first tag sequence with each tag in a preset agent second tag sequence; if all tags in the first tag sequence cannot be successfully matched with tags in the second tag sequence, all agents are used as target agents. For example, the first question information is "How strong is the light", the extracted first tag sequence is "light" and "how strong", and the preset second tag sequences of all agents do not contain "light" and "how strong is it", at this time, all agents act as target agents to provide content information with their own characteristics for the question information "How strong is the light".
[0059] Optionally, in one embodiment of the present invention, the content information provided by each target agent in the at least one target agent for the question keyword is sent to the client (step S204), including: sorting the respective content information provided by all target agents, and the sorting is based on the number of tags that successfully match the first tag sequence with the second tag sequence of each target agent and / or the client historical data.
[0060] For example, the first question information is "What major should I apply for if I get 600 points in the college entrance examination?", and the keywords "college entrance examination", "apply for a major" and "600 points" are extracted as the first label sequence. The matching target agents are "Zhang XX agent" and "College Entrance Examination Chinese Improvement Agent". The second label sequence of "Zhang XX agent" includes "college entrance examination", "apply for a major" and "600 points", that is, there are three successfully matched labels. The second label sequence of "College Entrance Examination Chinese Improvement Agent" includes "College Entrance Examination", "Chinese" and "Chinese skills", that is, there is only one successfully matched label, "College Entrance Examination". When sorting the content information provided by these two agents, "Zhang XX agent" ranks first and "College Entrance Examination Chinese Improvement Agent" ranks second.
[0061] In another embodiment, it can also be sorted according to client historical data. For example, in the past ten days, among the target agents, the user used the "Zhang XX agent" 8 times and the "College Entrance Examination Chinese Language Improvement Agent" 10 times. When sorting the content information provided by these two agents, the "College Entrance Examination Chinese Language Improvement Agent" ranks first and the "Zhang XX agent" ranks second.
[0062] In other embodiments, the content information provided by each target agent can also be sorted in combination with the number of tags that successfully match the first tag sequence and the second tag sequence of each target agent and the client historical data. For example, the first tag sequence is prioritized according to the number of tags that successfully match the second tag sequence of each target agent. The more tags that successfully match, the higher the ranking of the content information provided by the corresponding target agent. When the number of tags that successfully match is the same, the historical usage data is prioritized, and the target agent that is used more often ranks higher in the content information. Alternatively, the historical usage data is prioritized, and the target agent that is used more often ranks higher in the content information. When the number of uses is the same, the first tag sequence is prioritized according to the number of tags that successfully match the second tag sequence of each target agent. The more tags that successfully match, the higher the ranking of the content information provided by the corresponding target agent.
[0063] Optional, such as Figure 5As shown, in one embodiment of the present invention, the step of sending the content information provided by each target agent in the at least one target agent for the question keyword to the client so that the client displays the content information in the information display area (step S204) further includes: S2041, sending each target agent identifier to the client; S2042, in response to the client's selection operation on at least one target intelligent agent identifier, receiving the target intelligent agent identifier selected by the client; S2043, receiving second question information input by the client, and the target agent corresponding to the selected target agent identifier provides content information in response to the second question information; S2044: Send the content information provided by the target agent corresponding to the target agent identifier selected by the client in response to the second question information.
[0064] For example, for the question "What major should I apply for with 600 points in the college entrance examination" sent by the client, there are three target agents associated in the server, namely "Zhang XX Agent", "College Entrance Examination Worry-Free Agent" and "College Entrance Examination Cheer Agent". The three target agents provide content information with their own styles for "What major should I apply for with 600 points in the college entrance examination". Each content information is also associated with the target agent identifier that provides the content information. After the user sees the content information provided by the three target agents in the client information display area, he or she is more interested in the content information provided by "Zhang XX Agent". The user clicks on the content information provided by "Zhang XX Agent" and sends the "Zhang XX Agent" identifier associated with the content information to the server. After receiving the identifier, the server establishes a connection between "Zhang XX Agent" and the client. At this time, the user can enter a second question information on the client, such as "Which schools can I choose for engineering?" The "Zhang XX Agent" gives content information in the style of Zhang XX based on the second question information and combined with the first question information.
[0065] Optionally, in one embodiment of the present invention, the server generally also needs to timely update the preset intelligent agent, including: presetting an update time, automatically searching the network for the latest content corresponding to the intelligent agent tag within the update time; updating the latest content to the training database of the intelligent agent, and performing training updates on the intelligent agent; and / or presetting an update website, and automatically synchronizing the website content to the training database of the intelligent agent when it is updated, and performing training updates on the intelligent agent.
[0066] For example, the second tag sequence of the "Zhang XX agent" is "Zhang XX", "College Entrance Examination", "Apply for Volunteership", and "College Score Line". The update time can be preset for the agent. For example, every 3 hours, the server automatically searches for the latest content of the last three hours related to the second tag sequence "Zhang XX", "College Entrance Examination", "Apply for Volunteership", and "College Score Line" on web pages or video websites such as Baidu, Sogou, Douyin, and Bilibili, and updates the latest content to the training database of the "Zhang XX agent", and uses artificial intelligence technology to train and update the "Zhang XX agent". In another embodiment, the "Zhihu agent" presets the update website to Zhihu. When there is new content on the Zhihu website, the updated content is automatically synchronized to the training database of the "Zhihu agent", and the "Zhihu agent" is trained and updated using artificial intelligence technology.
[0067] The embodiment of the present invention also provides an agent-based information providing device, which is applied to a client, such as Figure 6 As shown, the information providing device includes: a response module 301, which is used to respond to the input first question information; a sending module 302, which is used to send the first question information to the server, so that the server parses the first question information, obtains the question keywords in the first question information, and determines at least one target intelligent agent associated with the question keywords from a plurality of preset intelligent agents; a receiving module 303, which is used to receive content information provided by at least one target intelligent agent for the question keywords sent by the server; and a display module 304, which is used to display the received content information in the information display area.
[0068] The agent-based information providing device provided by the embodiment of the present invention is applied to the server, and includes: a response module for responding to the first question information input; a sending module for sending the first question information to the server, so that the server parses the first question information, obtains the question keywords in the first question information, and determines at least one target agent associated with the question keywords from the preset multiple agents; a receiving module for receiving the content information provided by at least one target agent for the question keywords sent by the server; and a display module for displaying the received content information in the information display area. Since multiple agents are combined in the search method, the diversity and accuracy of the search results can be effectively improved.
[0069] Optionally, in one embodiment of the present invention, the receiving module 303 is specifically used to receive content information sent by the server and provided by each target agent determined by the server in response to the question keyword.
[0070] Optional, such as Figure 7As shown, in one embodiment of the present invention, the receiving module 303 includes: a first receiving unit 3031, used to receive each target intelligent entity identifier sent by the server; a responding unit 3032, used to respond to the selection operation of one of the target intelligent entity identifiers, and send the selected target intelligent entity identifier to the server; a sending unit 3033, used to respond to the input second question information, and send the second question information to the server, so that the target intelligent entity corresponding to the selected target intelligent entity identifier provides content information based on the second question information; a second receiving unit 3034, used to receive the content information provided by the target intelligent entity corresponding to the target intelligent entity identifier sent by the server in response to the second question information.
[0071] Optionally, in one embodiment of the present invention, the receiving module 303 includes: the received content information is content information sorted by the server based on the first question information, the agent and / or historical data.
[0072] The embodiment of the present invention also provides an agent-based information providing device, which is applied to a server, such as Figure 8 As shown, the information providing device includes: a receiving module 401, which is used to receive a first question information sent by a client; a parsing module 402, which is used to parse the first question information, obtain the question keywords in the first question information, and determine at least one target intelligent agent associated with the question keywords from a plurality of preset intelligent agents; an intelligent agent module 403, which is used for each target intelligent agent in the at least one target intelligent agent to provide respective content information for the question keywords; and a sending module 404, which is used to send the content information provided by each target intelligent agent in the at least one target intelligent agent for the question keywords to the client, so that the client can display the content information in the information display area.
[0073] Optionally, in one embodiment of the present invention, the parsing module 402 includes: an extraction unit, used to extract at least one question keyword from the first question information as a first label sequence in response to the first question information sent by the client; and a matching unit, used to match the first label sequence with a second label sequence of a preset intelligent agent to obtain the at least one target intelligent agent.
[0074] Optionally, in one embodiment of the present invention, the extraction unit includes: a first extraction subunit, used to directly extract at least one question keyword from the first question information as a first label sequence; and / or a second extraction subunit, used to parse the first question information to obtain related information, and extract at least one question keyword from the related information as the first label sequence.
[0075] Optionally, in one embodiment of the present invention, the matching unit includes: a first matching subunit, used to match each label in the first label sequence with each label in a preset second label sequence of an intelligent agent; if at least one label in the first label sequence successfully matches the label in the second label sequence, the intelligent agent corresponding to the label in the second label sequence that matches the label of the first label sequence is used as the target intelligent agent.
[0076] Optionally, in one embodiment of the present invention, the matching unit further includes: a second matching subunit, used to match each label in the first label sequence with each label in a preset second label sequence of the intelligent agent; if all labels in the first label sequence cannot be successfully matched with labels in the second label sequence, all intelligent agents are used as target intelligent agents.
[0077] Optionally, in one embodiment of the present invention, the sending module 404 includes: a sorting unit, used to sort the respective content information provided by all target intelligent entities, and the sorting is based on the number of tags that successfully match the first tag sequence and the second tag sequence of each target intelligent entity and / or the client historical data.
[0078] Optional, such as Fig. 9 As shown, in one embodiment of the present invention, the sending module 404 further includes: The first sending unit 4041 is used to send each target agent identifier to the client; The receiving unit 4042 is configured to receive the target agent identifier selected by the client in response to the client selecting the at least one target agent identifier; Agent unit 4043, used to receive second question information input by the client, and the target agent corresponding to the selected target agent identifier provides content information for the second question information; The second sending unit 4044 is used to send the content information provided by the target agent corresponding to the target agent identifier selected by the client in response to the second question information.
[0079] An embodiment of the present invention provides an electronic device, such as Fig.10As shown, the electronic device may include: a shell 51, a processor 52, a memory 53, a circuit board 54 and a power supply circuit 55, wherein the circuit board 54 is arranged inside the space enclosed by the shell 51, and the processor 52 and the memory 53 are arranged on the circuit board 54; the power supply circuit 55 is used to supply power to various circuits or devices of the above-mentioned electronic device; the memory 53 is used to store executable program codes; the processor 52 runs the program corresponding to the executable program code by reading the executable program code stored in the memory 53, so as to execute the method for determining abnormal chips described in any of the aforementioned embodiments.
[0080] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0081] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.
[0082] In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0083] For the convenience of description, the above device is described by dividing the functions into various units / modules. Of course, when implementing the present invention, the functions of each unit / module can be implemented in the same or multiple software and / or hardware.
[0084] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
[0085] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. An agent-based information provision method, characterized in that: Applied to the client, the information providing method includes: responding to the input first question information; Sending the first question information to a server so that the server parses the first question information to obtain question keywords in the first question information, and determining at least one target agent associated with the question keywords from a plurality of preset agents; Receiving content information provided by at least one target agent for the question keyword sent by the server; The received content information is displayed in the information display area.
2. The information providing method according to claim 1, characterized in that: The receiving of content information provided by at least one target agent for the question keyword sent by the server includes: Receive the content information sent by the server and provided by each target agent determined by the server in response to the question keyword.
3. The information providing method according to claim 1, characterized in that: The receiving of content information provided by at least one target agent for the question keyword sent by the server includes: Receiving each target agent identifier sent by the server; In response to a selection operation on one of the target intelligent agent identifiers, sending the selected target intelligent agent identifier to the server; In response to the input second question information, the second question information is sent to the server, so that the target agent corresponding to the selected target agent identifier provides content information based on the second question information; Receive content information provided by the target agent corresponding to the target agent identifier sent by the server in response to the second question information.
4. The information providing method according to claim 1, characterized in that: The receiving of content information provided by at least one target agent for the question keyword sent by the server includes: The received content information is content information sorted by the server based on the first question information, the agent and / or historical data.
5. An agent-based information provision method, characterized in that: Applied to the server, the information providing method includes: Receive the first question information sent by the client; Parsing the first question information to obtain question keywords in the first question information, and determining at least one target intelligent agent associated with the question keywords from a plurality of preset intelligent agents; Each target agent in the at least one target agent provides respective content information for the question keyword; The content information provided by each target intelligent agent in the at least one target intelligent agent in response to the question keyword is sent to the client, so that the client displays the content information in the information display area.
6. The information providing method according to claim 5, characterized in that: The step of determining at least one target agent associated with the question keyword from among the plurality of preset agents comprises: In response to the first question information sent by the client, extract at least one question keyword from the first question information as a first tag sequence; The first tag sequence is matched with a second tag sequence of a preset agent to obtain the at least one target agent.
7. The information providing method according to claim 6, characterized in that: The step of extracting at least one question keyword from the first question information as a first tag sequence in response to the first question information sent by the client includes: Directly extracting at least one question keyword from the first question information as a first tag sequence; and / or The first question information is parsed to obtain associated information, and at least one question keyword is extracted from the associated information as a first tag sequence.
8. The information providing method according to claim 6, characterized in that: The step of matching the first tag sequence with a preset second tag sequence of an agent to obtain the at least one target agent includes: Matching each tag in the first tag sequence with each tag in a preset agent second tag sequence; If at least one tag in the first tag sequence successfully matches a tag in the second tag sequence, the agent corresponding to the tag in the second tag sequence that matches the tag in the first tag sequence is used as the target agent.
9. The information providing method according to claim 6, characterized in that: The first tag sequence is matched with a preset agent second tag sequence to obtain the at least one target agent, and further includes: Matching each tag in the first tag sequence with each tag in a preset agent second tag sequence; If all tags in the first tag sequence cannot be successfully matched with tags in the second tag sequence, all agents are taken as target agents.
10. The information providing method according to claim 6, characterized in that: The step of sending the content information provided by each target agent in the at least one target agent in response to the question keyword to the client includes: The respective content information provided by all target intelligent entities is sorted, and the sorting basis is the number of tags that successfully match the first tag sequence with the second tag sequence of each target intelligent entity and / or the client historical data.
Citation Information
Patent Citations
Question and answer processing method and device, electronic equipment and storage medium
CN117271730A
Intelligent question and answer method and device, computer equipment and storage medium
CN117312518A
Business problem reply method and device, storage medium and electronic equipment
CN117688155A
Method and system for realizing question and answer service, electronic equipment and storage medium
CN117909465A
Multi-role collaborative information processing method and device based on large language model
CN118136231A
