An interactive access method and device of an intelligent agent, an apparatus, and a storage medium
By receiving and recognizing users' business session requests and invoking intelligent agents to respond, natural language-driven interactive services are provided, solving the problem of enterprise platforms having difficulty quickly integrating intelligent agents and improving the efficiency of digital processing in business scenarios.
Patent Information
- Application Number
- CN202411901475.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-23
- Publication Date
- 2025-11-25
- Estimated Expiration
- 2044-12-23
AI Technical Summary
In existing technologies, enterprise open platforms struggle to quickly and efficiently integrate various intelligent agents to enhance business capabilities, resulting in insufficient integration of intelligent applications.
By receiving users' initial business session requests, the system uses an intent recognition model to determine the target business scenario and calls the corresponding intelligent agent to respond, providing natural language-driven interactive services, reducing the user access threshold, and improving the efficiency of digital processing in business scenarios.
It enables rapid access to intelligent agents in complex business scenarios, lowers the barrier for users to access intelligent agents, and improves the digital capabilities and processing efficiency of various business scenarios.
Smart Images

Figure CN119766859B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of artificial intelligence, and in particular to an interactive access method and device of an intelligent agent, an equipment and a storage medium. BACKGROUND
[0002] With the gradual development of artificial intelligence technology, the transformation of traditional applications to intelligent applications has become a development trend. At present, the open platform application of an enterprise is mainly supported by a traditional technology framework, and the intelligent technology application is not naturally integrated. The application side urgently hopes to quickly access various intelligent agents and other related artificial intelligence services to enhance its business capabilities.
[0003] Therefore, there is an urgent need for a fast and efficient access method of an intelligent agent. SUMMARY
[0004] The present application provides an interactive access method, device, equipment and storage medium of an intelligent agent to reduce user use.
[0005] According to an aspect of the present application, an interactive access method of an intelligent agent is provided, which comprises:
[0006] receiving an initial service session request initiated by a user, intercepting the initial service session request based on session request information, and determining a target service session request; wherein the session request information comprises requestor address information and requestor identity information; the target service session request refers to the initial service session request intercepted by the request interception;
[0007] determining the business scenario to which the target service session request belongs according to a preset intent recognition model, calling an intelligent agent under the business scenario to respond to the target service session request, and returning a standard service answer corresponding to the target service session request.
[0008] According to another aspect of the present application, an interactive access device of an intelligent agent is provided, which comprises:
[0009] The request interception module is configured to receive an initial service session request initiated by a user, intercept the initial service session request based on session request information, and determine a target service session request; wherein the session request information comprises requestor address information and requestor identity information; the target service session request refers to the initial service session request intercepted by the request interception;
[0010] The request response module is configured to determine the business scenario to which the target service session request belongs according to a preset intent recognition model, call an intelligent agent under the business scenario to respond to the target service session request, and return a standard service answer corresponding to the target service session request.
[0011] According to another aspect of the present application, there is provided an electronic device, comprising:
[0012] at least one processor; and
[0013] a memory connected with the at least one processor in communication; wherein,
[0014] the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to perform the interactive access method of the agent according to any one of the embodiments of the present application.
[0015] According to another aspect of the present application, there is provided a computer readable storage medium storing computer instructions for enabling a processor to implement the interactive access method of the agent according to any one of the embodiments of the present application when executed by the processor.
[0016] According to another aspect of the present application, there is provided a computer program product comprising a computer program for implementing the interactive access method of the agent according to any one of the embodiments of the present application when executed by a processor.
[0017] The technical solution of the embodiments of the present application receives an initial service request initiated by a user through a unified session interface, forms an intelligent service connection system through prompt word driven intelligent arrangement, and provides natural language driven interactive service, thereby reducing the threshold for the user to access the agent, improving the processing efficiency of the digital capability of each service scenario, and realizing quick access to the agent in a complex service scenario.
[0018] It should be understood that the content described in this part is not intended to identify key or important features of the embodiments of the present application, nor to limit the scope of the present application. Other features of the present application will become apparent from the following description. BRIEF DESCRIPTION OF DRAWINGS
[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced as follows. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can also be obtained by those skilled in the art without creative labor on the basis of these drawings.
[0020] Figure 1 is a flowchart of an interactive access method of an agent according to an embodiment of the present application;
[0021] Figure 2is a flow chart of an interactive access method of an intelligent agent according to the second embodiment of the present application;
[0022] Figure 3 is a structural schematic diagram of an interactive access device of an intelligent agent according to the third embodiment of the present application;
[0023] Figure 4 is a structural schematic diagram of an electronic device implementing the interactive access method of an intelligent agent. DETAILED DESCRIPTION
[0024] In order to enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor should fall within the scope of protection of the present application.
[0025] It should be noted that the terms "first", "second", and the like in the specification and claims of the present application and the above-described drawings are used to distinguish similar objects, and do not necessarily indicate a specific order or a chronological sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device that includes a series of steps or units does not have to be limited to those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to the process, method, product or device.
[0026] Embodiment One
[0027] Figure 1 A flow chart of an interactive access method of an intelligent agent is provided for the first embodiment of the present application. The present embodiment can be applicable to the case of calling an intelligent agent at the application side. The method can be executed by an interactive access device of an intelligent agent, which can be realized in the form of hardware and / or software. The interactive access device of the intelligent agent can be configured in various general-purpose computing devices, such as a client device integrated with an intelligent agent. As shown in the figure, the method comprises: Figure 1
[0028] S110, receiving an initial service session request initiated by a user, performing request interception on the initial service session request based on session request information, and determining a target service session request.
[0029] S120, determine the business scene to which the target business session request belongs according to a preset intention recognition model, call an agent in the business scene to respond to the target business session request, and return a standard business answer corresponding to the target business session request.
[0030] The session request information can include requestor address information and requestor identity information; and the target business session request can be an initial business session request intercepted by the request.
[0031] In the embodiment of the application, a user can send an initial business session request in a session interface provided by an application side, interact with different agents corresponding to different business scenes in a dialog interaction manner, call model capabilities of a large language model in the agent, finally generate a question answer, and return the question answer to the user.
[0032] It should be noted that the application provides dialog service access, scene-embedded service access, a plug-in library framework, a regulation library framework, and a service orchestration framework according to agents corresponding to different business scenes, realizes full-process series operation, and returns a business execution process in a business scene to a user. Exemplarily, a user can realize seamless interaction with an intelligent service platform through a unified dialog interface. The intelligent service platform will intelligently recognize the demand of the user according to the input of the user, and call a corresponding service to respond. For a specific scene, the platform provides a customized service embedding scheme. Through in-depth analysis of the scene characteristics and the user demand, the platform can accurately match and embed a corresponding service, and improve the user experience.
[0033] In order to further enhance the intelligent level of the intelligent service platform, an efficient orchestration engine can be used to realize flexible combination and scheduling of various intelligent services, improve service response speed and efficiency, provide a prompt word market and a thought chain completion function, help the user to more accurately express the demand, and improve the understanding and processing ability of the intelligent service, and through RAG (Retrieval-Augmented Generation, natural language processing combining information retrieval and large language model) technology, the content generation effect is strengthened, and it is ensured that the generated content not only meets the user demand, but also has high quality and accuracy.
[0034] The intelligent service platform also inherits a plug-in library, which aims to deposit and reuse various business plug-ins and technical plug-ins, such as natural language processing, image recognition, data analysis, etc. Through the service form, usage range and calling mode of the registered plug-in, a solid foundation is provided for service orchestration, which not only improves the development efficiency, but also reduces the maintenance cost.
[0035] The intelligent service platform can also meet the needs of knowledge data retrieval in various scenarios through two ways of entity knowledge base and external knowledge base. Meanwhile, the intelligent service platform can further improve the accuracy and practicality of knowledge retrieval by using large language models for enhanced generation, thereby providing rich knowledge resources for the intelligent service platform and helping to improve the intelligent level of services.
[0036] Optionally, in the embodiment of the present application, the agent in the calling business scenario responds to the target business session request and returns a standard business answer corresponding to the target business session request, including: at least one large language model in the agent in the calling business scenario responding to the target business session request and intelligently identifying and processing the content of the target business session request; the intelligent identification and processing operation includes business prompt word recommendation or business thinking chain completion; receiving a sub-target business session request, executing a business execution process corresponding to the sub-target business session request according to the agent, and returning a business execution result of the business process execution; wherein the sub-target business session request is an interactive question input by the user according to the business prompt word or the business process guide prompt provided by the large language model.
[0037] Specifically, the user inputs the question content through the interactive interface provided by the intelligent service platform. After the agent management platform receives the question content input by the user, it analyzes the question content by using an intent recognition model, identifies the real intention of the user according to the keywords, context and other information of the question content, searches the business scenario library maintained by the agent management platform according to the identified user intention, calculates the similarity between the user intention and each business scenario by algorithm, finds the most similar matching scenario as the target business scenario (i.e. the business scenario to which the question content belongs), and determines the business scenario to which the question content input by the user belongs. After determining the business scenario to which the question content input by the user belongs, the corresponding agent of the business scenario can be called, and the question content can be processed by the large language model integrated in the agent according to the preset business execution process of the business scenario. It should be noted that after the user inputs the question content in the interactive interface, the intelligent service platform can automatically associate and display related prompt words based on the keywords input by the user, helping the user to quickly find the content they want to express. The user can determine the question content (i.e. sub-target business session request) to be input based on the prompt words, and the intelligent service platform can infer and associate based on the context when answering the user's question, generate answers with more logicality and coherence, and return the answers, recommendations and business operation guidelines of the user's question content to the user. Optionally, the intent recognition model can be a pre-trained large language model.
[0038] Optionally, in the embodiment of the application, the intelligent agent in the intelligent service platform is integrated in the intelligent agent management node; the intelligent agent management node integrates at least two intelligent agents corresponding to business scenarios and stores the corresponding business execution process under the standard business scenario. It should be noted that for the intelligent agent management node, the operation and maintenance personnel with intelligent agent editing authority can optimize and adjust the business execution process corresponding to the business scenario, the large model capability of the intelligent agent and the prompt word library to improve the overall performance and user experience of the intelligent service platform. Optionally, the large model capability and the prompt word library can be optimized and adjusted according to the historical conversation of the intelligent service platform.
[0039] The technical scheme of the embodiment of the application receives the initial business request initiated by the user through a unified conversation interface, forms an intelligent service connection system through prompt word driven intelligent arrangement, and provides natural language driven interactive service, thereby reducing the threshold for the user to access the intelligent agent, improving the processing efficiency of the digital capability of each business scenario, and realizing the quick access of the intelligent agent under the complex business scenario.
[0040] Embodiment two
[0041] Figure 2 The flowchart of the interactive access method of the intelligent agent provided by the second embodiment of the application is further refined on the basis of the above-mentioned embodiment, and provides the specific steps of receiving the initial business conversation request initiated by the user and intercepting the initial business conversation request based on the conversation request information. It should be noted that the unexplained parts of the embodiment of the application can refer to the related descriptions of other embodiments, which will not be described here. As shown in the embodiment, the method comprises: Figure 2
[0042] S210, access monitoring is performed on the request address of the initial business conversation request, the access frequency of the request address accessing the conversation request interface is determined, and when the access frequency reaches the preset malicious access threshold, all initial business requests under the request address are shielded.
[0043] S220, the request party identity information corresponding to the initial business conversation request is determined, and it is queried in the preset scene permission user table whether the request party identity information exists, if not, the initial business conversation request is intercepted.
[0044] S230, the business scenario to which the target business conversation request belongs is determined according to the preset intention recognition model, the intelligent agent under the business scenario is called to respond to the target business conversation request, and the standard business answer corresponding to the target business conversation request is returned.
[0045] Specifically, in one aspect, the intelligent service platform can receive the user input question content (i.e. initial business session request) through the session interface, and monitor the traffic of the session interface, analyze the request address of the initial business session request, determine the access frequency of the request address to the session interface within a preset access period, and when the access frequency reaches a preset malicious access threshold, shield all initial business requests from the request address to prevent users with malicious high-frequency access from occupying memory resources. Optionally, the length of the access period and the value of the malicious access threshold can be adaptively set by those skilled in the art.
[0046] On the other hand, the intelligent service platform analyzes the received initial business session request, determines the requestor identity information carried in the initial business session request, and queries whether the requestor identity information exists in the pre-set scene permission user table. If not, the initial business session request is intercepted. Optionally, the requestor identity information can be used to represent the identity of the requestor, and the users recorded in the scene permission user table have the permission to use the intelligent service platform. The initial business session request after shielding and interception is determined as the target initial business session request.
[0047] Optionally, in the embodiment of the present application, the history session record table can also be generated by sequentially storing each answer pair of the target business session request in the target business session request response process according to the chronological order of the question and answer pairs. The history session record table can be used to provide the session keeping function. The session data in the history session record table is stored in the form of key-value pairs, the key of the session data is used to represent the identification information of the requestor, and the value of the session data is used to store the session data.
[0048] Specifically, in the process of interaction between the intelligent service platform and the user through the interactive interface, the intelligent service platform also provides the session keeping function to store the session data (question content and answer content) of the history session. The session data is stored in the form of key-value pairs, and the key of the session data corresponding to the question content and the answer content in the same session data pair is the identification information of the requestor, and the value of the session data is the content data corresponding to the question content and the answer content. Finally, the history session records are sorted according to the session time of the history session, and the history session record table is generated by dividing the session data with the same key into the same session. In the current session process of the current interactive interface, the history session record of the current conversation can be displayed to facilitate the user to understand the context and logical relationship of the conversation. Optionally, the declaration period of the history session stored in the history session record table can be adaptively set by those skilled in the art.
[0049] By performing the storage of historical sessions and the implementation of the session keeping function, not only the use experience of the user is improved, but also a solid foundation is provided for subsequent dialogue system optimization and expansion.
[0050] The technical scheme of the embodiment of the application realizes the interception of the initial service session request by performing access monitoring and permission monitoring on the initial service session request, effectively prevents malicious or high-frequency user access behaviors, and improves the request quality of the session request, thereby improving the session efficiency while avoiding the processing of invalid session requests and saving memory resources.
[0051] Embodiment three
[0052] Figure 3 A structural schematic diagram of an interactive access device of an intelligent agent provided by the third embodiment of the application is shown in FIG. 3. Figure 3 As shown in the figure, the device comprises:
[0053] The request interception module 310 is configured to receive an initial service session request initiated by a user, perform request interception on the initial service session request based on session request information, and determine a target service session request; wherein the session request information comprises requestor address information and requestor identity information; and the target service session request refers to the initial service session request subjected to the request interception.
[0054] The request response module 320 is configured to determine a business scenario to which the target service session request belongs according to a preset intent recognition model, call an intelligent agent in the business scenario to respond to the target service session request, and return a standard business answer corresponding to the target service session request.
[0055] The technical scheme of the embodiment of the application receives an initial service request initiated by a user through a unified session interface, forms an intelligent service connection system by prompting word-driven intelligent arrangement, provides natural language-driven interactive service, reduces the threshold for the user to access the intelligent agent, improves the processing efficiency of the digitalization capability of each business scenario, and realizes the quick access of the intelligent agent in the complex business scenario.
[0056] Optionally, the request interception module 310 comprises:
[0057] The first interception unit is configured to perform access monitoring on a requestor address of the initial service session request, determine an access frequency of the requestor address to the session request interface, and when the access frequency reaches a preset malicious access threshold, shield all initial service requests under the requestor address.
[0058] The second intercepting unit is configured to determine the requestor identity information corresponding to the initial service session request, and query whether the requestor identity information exists in a preset scene permission user table.
[0059] Optionally, the request response module 320 can be specifically configured to:
[0060] invoke at least one large language model in the agent in the service scenario to respond to the target service session request, and perform intelligent identification processing on the content of the target service session request; the intelligent identification processing operation includes service prompt word recommendation or service thinking chain completion;
[0061] receive a sub-target service session request, execute a service execution process corresponding to the sub-target service session request according to the agent, and return a service execution result of the service process execution; wherein the sub-target service session request is an interactive question input by a user according to a service prompt word or a service process guide prompt provided by the large language model.
[0062] Optionally, the agent is integrated into an agent management node; the agent management node integrates at least two agents corresponding to service scenarios, and stores service execution processes corresponding to standard service scenarios.
[0063] Optionally, the device further comprises:
[0064] The session recording module is configured to store each answer pair of the target service session request in order during the response process of the target service session request according to the chronological order of the question and answer pairs, and generate a historical session record table.
[0065] Optionally, the historical session record table is configured to provide a session keeping function; session data in the historical session record table is stored in the form of a key-value pair, a key of the session data is configured to represent the identification information of the requestor, and a value of the session data is configured to store the session data.
[0066] The interactive access device of the agent provided in the embodiments of the application can execute the interactive access method of the agent provided in any embodiment of the application, and has the corresponding function modules and beneficial effects of the execution method.
[0067] Embodiment four
[0068] Figure 4A structural diagram of an electronic device 410 that can be used to implement embodiments of the present application is shown. The electronic device is intended to represent various forms of digital computers, such as laptops, desktops, tablets, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device can also represent various forms of mobile devices, such as personal digital assistants, cellular telephones, smartphones, wearable devices (e.g., headsets, glasses, watches, etc.), and other similar computing devices. The components shown here, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application described and / or claimed in this document.
[0069] As shown in Figure 4 The electronic device 410 includes at least one processor 411, and a memory, such as a read-only memory (ROM) 412, a random access memory (RAM) 413, etc., connected to the at least one processor 411, where the memory stores computer programs executable by the at least one processor. The processor 411 can perform various appropriate actions and processes according to the computer programs stored in the read-only memory (ROM) 412 or loaded into the random access memory (RAM) 413 from the storage unit 418. In the RAM 413, various programs and data required for the operation of the electronic device 410 can also be stored. The processor 411, the ROM 412, and the RAM 413 are connected to each other through a bus 414. An input / output (I / O) interface 415 is also connected to the bus 414.
[0070] Various components in the electronic device 410 are connected to the I / O interface 415, including an input unit 416, such as a keyboard, a mouse, etc., an output unit 417, such as various types of displays, a speaker, etc., a storage unit 418, such as a magnetic disk, an optical disk, etc., and a communication unit 419, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 419 allows the electronic device 410 to exchange information / data with other devices through a computer network, such as the Internet, and / or various telecommunication networks.
[0071] The processor 411 can be various general and / or special purpose processing components with processing and computing capabilities. Some examples of the processor 411 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 411 performs various methods and processes described above, such as the interactive access method of the agent.
[0072] In some embodiments, the interactive access method of an agent can be implemented as a computer program tangibly embodied in a computer readable storage medium, e.g., storage unit 418. In some embodiments, parts or all of the computer program can be loaded and / or installed onto electronic device 410 via, e.g., ROM 412 and / or communication unit 419. When the computer program is loaded onto RAM 413 and executed by processor 411, one or more steps of the above-described interactive access method of an agent can be performed. Alternatively, in other embodiments, processor 411 can be configured to perform the interactive access method of an agent by other means, e.g., with the aid of firmware.
[0073] Various implementations of the systems and techniques described above can be realized in digital electronic circuitry, integrated circuitry, a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on a chip (SOC), a complex programmable logic device (CPLD), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include implementation in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.
[0074] Computer programs used to implement the methods of the present application can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the computer program, when executed by the processor, implements the functions / acts specified in the flowcharts and / or block diagrams. The computer program can be executed entirely on a machine, partially on a machine, partially on a machine as part of a standalone software package, partially on a machine and partially on a remote machine or entirely on a remote machine or server.
[0075] In the context of the present application, a computer-readable storage medium can be a tangible medium that can contain or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer-readable storage medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium can be a machine-readable signal medium. More specific examples of a machine-readable storage medium will include one or more lines of a program of instructions in a transitory signal, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0076] To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the electronic device. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.
[0077] The systems and techniques described here can be implemented in a computing system that includes a back end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front end component (e.g., a user computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back end, middleware, or front end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0078] The computing system can include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system, to solve the defects of large management difficulty and weak business scalability in traditional physical host and VPS service.
[0079] It should be understood that the various forms of flow shown above can be used to reorder, add or delete steps. For example, each step described in the present application can be executed in parallel, sequentially or in a different order, as long as the desired results of the technical solutions of the present application can be achieved, which is not limited herein.
[0080] The above detailed description does not constitute a limitation on the scope of protection of the present application. Those skilled in the art should understand that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present application shall be included in the scope of protection of the present application.
Claims
1. An interactive access method for an agent, characterized in that, Comprise: Receiving a user-initiated initial service session request, intercepting the initial service session request based on session request information, and determining a target service session request; wherein the session request information includes requestor address information and requestor identity information; the target service session request refers to the initial service session request intercepted; According to the preset intention recognition model, determine the business scenario to which the target service session request belongs, call the intelligent agent under the business scenario to respond to the target service session request, and return the standard business answer corresponding to the target service session request; Wherein, receiving a user-initiated initial service session request, intercepting the initial service session request based on session request information, comprising: Access monitoring of the requestor address of the initial service session request, determining the access frequency of the requestor address accessing the session request interface, and shielding all initial service requests under the requestor address when the access frequency reaches the preset malicious access threshold; Determine the requestor identity information corresponding to the initial service session request, and query whether the requestor identity information exists in the preset scene permission user table. If not, intercept the initial service session request; Wherein, calling the intelligent agent under the business scenario to respond to the target service session request, and returning the standard business answer corresponding to the target service session request, comprising: Call at least one large language model in the intelligent agent under the business scenario to respond to the target service session request, and intelligently identify the content of the target service session request; wherein the intelligent identification processing operation includes business prompt word recommendation or business thinking chain completion; the intelligent agent is integrated in the intelligent agent management node; the intelligent agent management node integrates at least two intelligent agents corresponding to the business scenario, and stores the corresponding business execution process under the standard business scenario; Receive a sub-target service session request, execute the business execution process corresponding to the sub-target service session request according to the intelligent agent, and return the business execution result of the business process execution; wherein the sub-target service session request is an interactive question input by the user according to the business prompt word or business process guide prompt provided by the large language model.
2. The method of claim 1, wherein, Also include: According to the chronological order of the session time of the question and answer pair, the each answer pair of the target service session request is stored in order during the response process of the target service session request, and a historical session record table is generated.
3. The method of claim 2, wherein, The historical session record table is used to provide a session keeping function; the session data in the historical session record table is stored in the form of key-value pair, the key position of the session data is used to represent the identification information of the requestor, and the value position of the session data is used to store the session data.
4. An interactive access device for an agent, characterized by Comprise: The request interception module is configured to receive an initial service session request initiated by a user, perform request interception on the initial service session request based on session request information, and determine a target service session request; the session request information includes requestor address information and requestor identity information; the target service session request refers to the initial service session request subjected to request interception; The request response module is configured to determine a service scenario to which the target service session request belongs according to a preset intention recognition model, call an agent in the service scenario to respond to the target service session request, and return a standard service answer corresponding to the target service session request. The request interception module includes: The first interception unit is configured to monitor access of a requestor address of the initial service session request, determine an access frequency of the requestor address in accessing a session request interface, and shield all initial service requests under the requestor address when the access frequency reaches a preset malicious access threshold. The second interception unit is configured to determine requestor identity information corresponding to the initial service session request, and query whether the requestor identity information exists in a preset scenario permission user table; if not, the initial service session request is intercepted. The request response module is specifically configured to: call at least one large language model in the agent in the service scenario to respond to the target service session request, and perform intelligent recognition processing on the content of the target service session request; the intelligent recognition processing operation includes business prompt word recommendation or business thinking chain completion; the agent is integrated in an agent management node; the agent management node integrates at least two agents corresponding to service scenarios, and stores a business execution process corresponding to a standard service scenario; receive a sub-target service session request, execute a business execution process corresponding to the sub-target service session request according to the agent, and return a business execution result of the business process execution; the sub-target service session request is an interactive question input by a user according to a business prompt word or a business process guide prompt provided by the large language model.
5. An electronic device, comprising: The electronic device includes: at least one processor; and a memory connected in communication with the at least one processor; wherein The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to execute the interactive access method of the agent according to any one of claims 1-3.
6. A computer-readable storage medium, characterized in that, The computer readable storage medium stores computer instructions for enabling the processor to execute the interactive access method of the agent according to any one of claims 1-3 when executed.
7. A computer program product, characterised in that, The computer program is executed by the processor to implement the interactive access method of the agent according to any one of claims 1-3.
Citation Information
Patent Citations
Access control system
CN109327420A
Multi-robot dialogue management method, device, equipment and medium
CN113868404A