Intelligent Agent Construction and Application System Based on Large Language Model

By constructing an intelligent agent system based on a large language model, the problems of high training cost of large models and time-consuming and laborious application customization are solved. It achieves efficient understanding of user intent and self-organized integrated applications, improves system operating efficiency and data privacy protection, and enhances the interpretability of the model.

CN118966267BActive Publication Date: 2026-11-17NANJING UNIV OF SCI & TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411119788.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-15
Publication Date
2026-11-17
Estimated Expiration
2044-08-15

AI Technical Summary

Technical Problem

The learning process of large models requires a lot of computing resources and time, the training cost is high, and they do not perform as well as human experts when faced with new problems and scenarios. Data security and privacy protection issues are prominent, and applications are highly customized and time-consuming.

Method used

Construct an intelligent agent system based on a large language model, including an application management module, an intelligent agent workflow module, an intelligent agent construction module, and an intent understanding module. By understanding task requirements through a large model, generating code, and combining multiple model tools, it can achieve efficient completion of complex tasks.

Benefits of technology

It improves the operational efficiency of intelligent systems, enables accurate understanding of user intent, self-organizes and integrates various applications, reduces training costs, enhances data privacy protection, and improves the interpretability and generalization ability of models.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118966267B_ABST
    Figure CN118966267B_ABST
Patent Text Reader

Abstract

This invention discloses an intelligent agent construction and application system based on a large language model. It provides a unified registration and publishing paradigm for model services. Through a deep understanding of task business requirements using a large model, it generates service orchestration processes tailored to user task needs. If a required service does not exist, the system drives the large model's code generation capabilities to define and implement the service. The system continuously iterates within the process, ultimately forming an intelligent agent workflow for that specific business task. This invention possesses the capabilities of problem semantic understanding, complex task decomposition, and invocation. Its advantages lie in its ability to efficiently integrate into application systems while accurately understanding user intent, scheduling or on-the-spot development of multiple different model tools, and combining them to complete complex tasks, thereby significantly improving the system's operational efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to intelligent agent construction technology, and specifically to an intelligent agent construction and application system based on a large language model. Background Technology

[0002] With the rapid development of technology, artificial intelligence (AI) has become a hot topic worldwide. Among them, large-scale models, represented by ChatGPT, are attracting increasing global attention as a technology with broad application prospects.

[0003] Large models are automated learning systems based on artificial intelligence. They can learn to extract useful information from massive amounts of data and make predictions and decisions based on this information. The development of large models can be divided into two stages: the first stage is traditional rule-based expert systems; the second stage is automated learning systems based on machine learning. Currently, research on large models mainly focuses on the second stage, namely automated learning systems based on deep learning.

[0004] In recent years, deep learning technology has made significant progress, providing strong support for the development of large-scale models. In particular, the emergence of Convolutional Neural Networks (CNNs) and Recurrent Neural Networks (RNNs) has enabled computers to achieve groundbreaking results in fields such as image recognition, speech recognition, and natural language processing. These achievements have provided a wealth of application scenarios for the development of large-scale models, enabling them to achieve remarkable results in various fields.

[0005] In the field of natural language processing, large models can already perform tasks such as text classification, sentiment analysis, and machine translation. For example, Google's BERT model has achieved leading performance on multiple natural language processing tasks. In computer vision, large models can recognize various image information such as faces and objects, providing support for applications such as self-driving cars and intelligent surveillance. Furthermore, large models can be applied to recommendation systems, games, healthcare, and many other fields, bringing enormous potential for socio-economic development.

[0006] However, the development of large-scale models also faces several challenges. First, the learning process of large-scale models requires significant computational resources and time, leading to increased R&D costs. Second, the generalization ability of large-scale models still needs improvement; that is, when faced with new problems and scenarios, their performance may not match that of human experts. Furthermore, data security and privacy protection issues for large-scale models cannot be ignored. How to fully leverage the advantages of big data while ensuring data security is a pressing problem that needs to be addressed in the development of large-scale models.

[0007] In summary, large-scale models, as a technology with broad application prospects, have achieved remarkable results in various fields. However, the development of large-scale models still faces many challenges, requiring continuous research and exploration. From a development trend perspective, the future of large-scale models can be divided into the following aspects:

[0008] (1) Larger Model Scale: With the improvement of computing power and the accumulation of big data, future large models will become even larger. Larger model scale means more parameters and richer knowledge, which will enable large models to have higher accuracy and efficiency when dealing with complex tasks. At the same time, the training of large-scale models also requires more powerful hardware support. Therefore, we can foresee that more hardware devices specifically designed for large models will appear in the future, such as dedicated AI chips.

[0009] (2) Better performance optimization: To improve the performance of large models in various application scenarios, researchers will continue to explore more efficient algorithms and optimization methods. For example, techniques such as knowledge distillation and model pruning can reduce computation and storage requirements while maintaining model performance, enabling large models to run on low-power devices. In addition, researchers will also try to utilize the pre-training capabilities of models to develop more efficient multi-task learning methods to achieve better performance optimization.

[0010] (3) Wider range of applications: As big data modeling technology matures, its application areas will continue to expand. In addition to existing scenarios such as intelligent customer service and voice assistants, big data models will play a significant role in fields such as healthcare, education, and finance. For example, in healthcare, big data models can assist doctors in disease diagnosis and treatment recommendations; in education, they can provide students with personalized learning suggestions and resource recommendations. These applications will greatly improve people's quality of life and social efficiency.

[0011] (4) Enhanced interpretability: Current large models are often regarded as "black boxes," with their internal working principles and decision-making processes difficult to understand. However, in order to enable people to better trust and use large models, researchers need to improve the interpretability of the models. Visualization techniques, local models, and other methods can help us understand the decision-making basis of large models, thereby ensuring that their application in key areas is more reliable and secure.

[0012] (5) Enhanced Privacy Protection: With the increasing severity of data breaches and misuse, protecting user data privacy in large-scale models has become a crucial issue. Researchers will utilize technical means, such as differential privacy and federated learning, to safeguard user data privacy. Simultaneously, relevant regulations and standards will be introduced at the policy level to ensure that the application of large-scale models in various fields fully respects users' privacy rights.

[0013] In summary, the large model demonstrates strong versatility, creativity, and emergence, providing a new "AI+" paradigm for the intelligent development of the cybersecurity system and enabling a leap from "point intelligence" to "system intelligence". Summary of the Invention

[0014] The purpose of this invention is to provide an intelligent agent construction and application system based on a large language model, which solves the problems of highly customized intelligent agent applications, high training costs, and time-consuming and labor-intensive manual work. It can accurately understand the user's intentions through the versatility, creativity, and emergence of the large model, schedule multiple different model tools, combine them to complete complex tasks, and act as a "model commander", thereby greatly improving the efficiency of the system operation.

[0015] The technical solution to achieve the purpose of this invention is: an intelligent agent construction and application system based on a large language model, including an application management module, an intelligent agent workflow module, an intelligent agent construction module, and an intent understanding module;

[0016] The application management module is used for registering and publishing business services, managing service semantic mapping, and monitoring and managing the normality of applications.

[0017] The intelligent agent workflow module is used to build a service workflow for a specific task requirement. First, it can fully understand the task requirements based on an existing application list and a large model, and then select a suitable intelligent agent application from the application list to drive the process.

[0018] The intelligent agent construction module is used to continuously generate sub-requirements and code through the thinking chain capability of the large model when the requirements cannot be met. The code is verified in the form of function definition, function implementation, function integration implementation and execution result testing.

[0019] The intent understanding and execution module is used to parse the user's natural language requirements, match them according to the semantic similarity with the requirements, and recommend the optimal intelligent agent to be executed; if the user confirms, the execution result and the execution tool process will be reflected in the user's feedback.

[0020] Compared with the prior art, the present invention has the following advantages:

[0021] (1) In view of the complex and ever-changing characteristics of future intelligent scenarios, this invention enables intelligent systems to understand scenario requirements and call various applications. It can use a large model as the central hub to manage and model existing applications in a consistent manner and then drive them, so that various applications have the ability to self-organize and integrate in a task-oriented manner.

[0022] (2) This invention utilizes the ability of large models to generate code on demand, maps task requirements into program code, and can compile and assemble specific software applications based on the generated code, making the application software highly scalable. Attached Figure Description

[0023] Figure 1 This is the overall architecture diagram of the intelligent agent construction and application system based on a large language model according to the present invention.

[0024] Figure 2 This is a flowchart illustrating the processing of the intelligent agent workflow stage of this invention.

[0025] Figure 3 This is a flowchart illustrating the process of constructing a new intelligent agent in this invention.

[0026] Figure 4 This is a flowchart illustrating the processing of the task intent-based execution phase of the present invention. Detailed Implementation

[0027] To address the problems mentioned in the background section, this invention provides an intelligent agent construction and application system based on a large language model. It offers a unified registration and publishing paradigm for model services. Through a deep understanding of task business requirements using a large model, it generates service orchestration processes tailored to user task needs. If a required service does not exist, the system drives the large model's code generation capabilities to define and implement the service, continuously iterating and calling itself throughout the process, ultimately forming an intelligent agent workflow for that specific business task. This invention possesses the capabilities of problem semantic understanding, complex task decomposition, and invocation. Its advantages lie in its ability to efficiently integrate into application systems while accurately understanding user intent, scheduling or on-the-spot development of multiple different model tools, and combining them to complete complex tasks, thereby significantly improving the system's operational efficiency.

[0028] The technical solution of the present invention will now be described in detail with reference to the accompanying drawings and embodiments.

[0029] Example

[0030] Combined with appendix Figure 1 The overall architecture of an intelligent agent construction and application system based on a large language model disclosed in the embodiments of this application is described. The overall architecture includes: an application management module, an intelligent agent workflow module, an intelligent agent construction module, and an intent understanding module.

[0031] The application management module includes an application publishing and registration module, a semantic description mapping module, a load balancing service pool, and application testing tools. The application publishing and registration module registers various applications uniformly, describing their basic information, scope of use, and interpretability and evolvability requirements to facilitate semantic understanding and invocation by large models. The semantic description mapping module stores the semantic description information of the storage service. By calculating the similarity between existing agent capability descriptions and requirements, it achieves semantic mapping and application invocation. The load balancing service pool stores the storage service name and address information. Based on the current resource pool status, it selects suitable applications for invocation. If all applications in the resource pool experience high load, it dynamically allocates instance resources through the container cloud by adding application instances. The application testing tools automatically run the application interfaces of the agents to ensure the normality of the registered application logic functions. Simultaneously, through a service heartbeat mechanism, it ensures the application status is normal and can be invoked as an application in the workflow.

[0032] The intelligent agent workflow module mainly comprises five modules: a large model understanding engine, application list management, prompt statement generation and management, workflow construction, and workflow execution. The large model understanding engine integrates various basic large language models and interprets them according to user needs. Application list management provides a unified display and management tool for various applications, ensuring consistent application management. Prompt statement generation and management provides various prompt statements that trigger the capabilities of the large model, offering tools for writing, debugging, and searching prompt statement templates, facilitating prompt writing by engineers. Workflow construction allows for the creation, editing, and storage of processes running on multiple intelligent agents based on the logical understanding capabilities of the large model. The workflow execution module can sequentially call various intelligent agent modules through service calls and record the results of these calls.

[0033] The agent building module primarily provides six modules: agent requirement generation, function parameter definition, code generation, automated code testing, agent storage management, and container group installation tool. Agent requirement generation transforms agent task requirements that cannot be directly mapped into agent building requirements. The function parameter definition, code generation, and automated code testing modules automate the code writing and testing phases of the agent building process based on large models, ultimately iteratively generating runnable code. The agent storage management module stores the generated code as a runnable program. The container group installation tool packages the runnable program and related dependencies into an installation and startup script for rapid deployment.

[0034] The intent understanding and execution module primarily provides four modules: speech conversion tool, candidate agent generation, execution process monitoring, and user feedback management. The speech conversion tool converts user-input speech into text. Candidate agent generation selects the top-ranked agents from multiple agents for the application to invoke. Execution process monitoring tracks the agent's execution process and user feedback on key results. The user feedback management module standardizes and records various user feedback behaviors for incremental learning.

[0035] The specific business service functions of the application publishing and registration module include: completing service registration according to business requirements, and providing basic information such as service name, address, parameter name and value range, and capability description; required data knowledge information, task scenarios, task levels and other usage scope information, as well as interpretable and evolvable requirements;

[0036] In massive text analysis operations, event extraction is a crucial functional module. However, because the extracted content needs to be updated periodically based on text features, the applicability of text event extraction can be limited due to the limitations of training data. The registration, publishing, and sending information for each instance of event extraction is as follows:

[0037] [Basic Information]

[0038] Service Name: Text Event Extraction

[0039] Service address: http: / / 192.168.xx.xxx:8888 / eventExtract

[0040] Parameter name: [{parameter name: text to extract}, {parameter type: string}, {parameter value range: no more than 100 characters}]

[0041] Capability Description: Based on the input text, extract information such as event type, participants, event trigger words, time of occurrence, and location of occurrence from the text.

[0042] [Scope of Use Information]

[0043] Required data service information: national datasets, location datasets, and knowledge graphs for various devices.

[0044] Applicable article types: News and other relatively rigorous content released by official internet media.

[0045] Extractable entities: names, countries, locations, times, and devices.

[0046] Event types that can be extracted: assembly, statement, protest...

[0047] [Requirements for explanation and evolution]

[0048] Explanable requirements: explanatory elements of post-hoc results, explanatory elements of algorithmic processes, and explanatory elements of knowledge reasoning.

[0049] Evolvability requirements: operational status evaluation index system, retraining strategy (periodic, index thresholds), incremental adjustment strategy, and user feedback information demonstration strategy requirements.

[0050] The semantic description mapping module stores semantic description information for storage services. By calculating the similarity between existing agent capability descriptions and requirements, it achieves the mapping and invocation of semantics and applications. Similarity algorithms can use various metrics such as cosine similarity and string comparison rogue-L. If the similarity reaches a threshold, the requirement is considered met, and the agent can then execute the task, with each node of the agent executing sequentially.

[0051] The load balancing service pool stores service name and address information. Based on the current state of the resource pool, it selects appropriate applications for invocation. If all applications in the resource pool experience high loads, it dynamically allocates instance resources via the container cloud by adding application instances. Specifically, assuming the service startup script can start successfully, when the number of accesses and service latency within a unit of time reaches a certain threshold, the service script automatically starts to add instances.

[0052] The application testing tool ensures the normality of the registered application logic functions by automatically running the application interface of the intelligent agent, and at the same time, it ensures that the application status is normal and can be called as an application in the workflow through the service heartbeat mechanism.

[0053] Combined with appendix Figure 2 The execution of the agent workflow phase is explained below. The agent workflow module can fully understand the task requirements based on the existing application list and the large model, and select the appropriate agent application from the application list to drive the process. The specific steps are as follows:

[0054] A. Build a large model understanding engine, which can understand the application list and the requirements of the task;

[0055] B. Organize all types of applications in the application management module in a unified manner, and obtain basic information, scope of use and other elements of the corresponding applications from the application management module according to different needs.

[0056] C. The requirements and application list are concatenated into a prompt statement and input into the large model understanding engine. The large model generates the process of solving the task through heuristic solution.

[0057] D. The large model uses its own logical understanding to call multiple applications and provide feedback. When the feedback meets the user's needs, the calling process can be fixed and saved as a fixed flowchart. When the feedback does not meet the needs, it can be manually edited to customize the sequence of events and input / output.

[0058] E. Finally, the task is executed according to the process. The execution status of each node in the process can be monitored. If all executions are successful, the workflow of the agent can be saved. If the execution fails and iteration is required, the process returns to step D. If the execution is successful and iteration is not required, the process is saved.

[0059] Step A includes:

[0060] A-1. Incremental learning is performed on the large model. The data for the learning part consists of more than 10,000 service call data based on user commands.

[0061] A-2. After incremental training forms the model, the model can be fine-tuned through prompting learning, using 10,000 data points for fine-tuning.

[0062] A-3. After training and forming the model, the functions are encapsulated into a callable web service using Python.

[0063] Step B includes:

[0064] B-1. Construct field matching rules for the application management module based on user task requirements. Different fields can be generated for different requirement types. Specific judgments can be inferred through production rules.

[0065] B-2. Based on different user needs, map different application content fields and assemble them to form a comprehensive description statement of the application.

[0066] Step C includes:

[0067] C-1. Based on the candidate application list, user input requirements, small sample data, and output data format, etc., a prompt statement is formed and input into the large model. The large model can return the calling program planning path in the corresponding format.

[0068] C-2. The program automatically parses and calls the content of the program planning path, and confirms whether all planned paths can be called. If they cannot be called or the application does not exist, the program uses the multi-turn dialogue capability of the large model to iteratively ask questions until a callable program planning path is fully formed or the iteration limit has been reached.

[0069] Combined with appendix Figure 3The work involved in building the new intelligent agent is explained. The intelligent agent building module can uniformly package the data, knowledge, and other elements involved in the intelligent agent workflow module to ensure independent execution, and then install and deploy it based on a container. Since some nodes in the workflow lack corresponding service implementations, they need to be implemented under human-computer interaction, mainly in the following four steps:

[0070] A. Generate the missing node sub-requirements of the intelligent agent, taking the required functions in the process as input, and transform them into data format requirements and code function descriptions.

[0071] B. Through the thinking chain capability of the large model, generate specific function names and parameter definitions; through the code generation capability of the large model, generate specific function implementations based on specific function names and parameter definitions, and compile and run the code through the compiler;

[0072] C. Perform internal testing of the module using testing tools (unittest / JUnit). If the test runs without errors, proceed to step D; otherwise, return to step B.

[0073] D. Finally, the intelligent agent performs a trial run through the generated process. If there are no errors, the process of that node is stored in the workflow. If there are errors, it returns to process B for iteration.

[0074] Step B includes:

[0075] B-1. Based on the missing node sub-requirements of the intelligent agent, generate two types of requirements: specific data flow and program control flow. The data flow includes the program's input and output formats, both represented in JSON key-value format; the program control flow is mainly provided in the form of code. Based on the current training expectations of large models, Python and Java are more common languages, mainly generating function definitions and corresponding inputs and outputs.

[0076] B-2. Based on the requirements of the nodes in the program control flow, generate function implementations corresponding to function definitions, and implement program logic using multiple languages ​​such as Java and Python.

[0077] B-3. ​​Iterate through all nodes in the workflow to implement all function definitions and functions throughout the entire process;

[0078] B-4. Execute the workflow to achieve unified aggregation of results, and solidify the capabilities of the intelligent agent after manual judgment.

[0079] Combined with appendix Figure 4The execution phase based on task intent understanding is explained below. The intent understanding and execution module parses the user's natural language requirements, filters out similar processes from the perspectives of semantic similarity and context, and generates specific intelligent agent execution results through combination calls. The specific steps are as follows:

[0080] A. Recognize, parse, and convert user speech into textual descriptions of their needs in natural language. Specific implementation examples can use various language-to-text tools to convert user needs into text that the model can understand.

[0081] B. Associate the textual requirements with the capabilities of the intelligent agent. This involves comprehensive calculations based on multiple dimensions, including semantic similarity, the context in which the requirement was made, and referential relationships. A candidate set of agents capable of handling the requirements is selected based on the similarity threshold. Specifically, cosine distance can be used for calculation. The candidate set of agents capable of handling the requirements is then selected based on the cosine distance value and tested after user selection.

[0082] C. Real-time monitoring of the inputs and outputs of various nodes in the process can clearly identify the operational status logs of all process nodes and the specific content of their inputs and outputs, facilitating real-time monitoring.

[0083] D. Finally, the execution process will be fed back to the user and the execution process will be stored.

[0084] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.

Claims

1. A system for constructing and applying intelligent agents based on a large language model, characterized in that, It includes an application management module, an agent workflow module, an agent construction module, and an intent understanding and execution module; The application management module is used for registering and publishing business services, managing service semantic mapping, and monitoring and managing the normality of applications. The intelligent agent workflow module is used to build service workflows for task requirements. It can fully understand task requirements based on an existing application list and select appropriate intelligent agent applications from the application list to drive the process. The agent construction module is used to iteratively generate sub-requirements and code when requirements cannot be met, leveraging the thought chain capabilities of a large model. The code is verified through function definitions, function implementations, function integration implementations, and execution result testing. The agent construction module provides six modules: agent requirement generation, function parameter definition, code generation, automated code testing, agent storage management, and container group installation tools. Agent requirement generation transforms agent task requirements that cannot be directly mapped into agent construction requirements. The function parameter definition, code generation, and automated code testing modules automate the code writing and testing phases of the agent construction process based on the large model, ultimately iteratively generating runnable code. The intelligent agent storage management module stores the generated code as an executable program. Container installation tools package runnable programs and their dependencies into installation and startup scripts for quick deployment. The intent understanding and execution module is used to parse the user's natural language requirements, match them according to the semantic similarity with the requirements, and recommend the optimal intelligent agent to be executed; if the user confirms, the execution result and the execution tool process will be reflected in the user's feedback.

2. The intelligent agent construction and application system based on a large language model according to claim 1, characterized in that, The application management module includes an application publishing and registration module, a semantic description mapping module, a load balancing service pool, and application testing tools. The application publishing and registration module is used to uniformly register various applications, describe the basic information, scope of use, and interpretable and evolvable requirements of the application, so that the large model can understand the semantic level and then call it. The semantic description mapping module stores the semantic description information of the storage service. It achieves the mapping and invocation of semantics and applications by calculating the similarity between semantics and requirements. The load balancing service pool stores the storage service name and service address information. Based on the current status of the resource pool, it selects appropriate applications for invocation. If the load of various applications in the resource pool exceeds the set threshold, it dynamically allocates applications through the container cloud by adding application instances. The application testing tool ensures the normal status of registered applications by automatically running the application interface of the intelligent agent, so that they can be invoked as applications in the workflow.

3. The intelligent agent construction and application system based on a large language model according to claim 1, characterized in that, The aforementioned intelligent agent workflow module can fully understand task requirements based on an existing application list and a large model, and select appropriate intelligent agent applications from the application list to drive the process. The specific implementation is as follows: A. Build a large model understanding engine, which can understand the application list and the requirements of the task; B. Organize all types of applications in the application management module in a unified manner, and obtain the basic information and scope of use of the corresponding applications from the application management module according to different needs. C. The requirements and application list are concatenated into a prompt statement and input into the large model understanding engine. The large model generates the process of solving the task through heuristic solution. D. The large model calls multiple applications and provides feedback through its own logical understanding capabilities; when the feedback results meet the user's needs, the calling process is solidified and saved as a fixed flowchart; when the feedback results do not meet the needs, it is manually edited to customize the sequence of events and the input and output. E. According to the process, the task can be executed and the execution status of each node in the process can be monitored. If all executions are successful, the workflow of the intelligent agent can be saved. If execution fails and iteration is required, return to step D; if execution succeeds and iteration is not required, save the result.

4. The intelligent agent construction and application system based on a large language model according to claim 3, characterized in that, The specific process of building a large model understanding engine includes: Incremental learning is performed on a large model, and the data used for the learning part is service call data based on user commands; After incremental training forms the model, fine-tuning of the model is carried out through prompting learning; After training to form a model, the functionality is encapsulated into a callable web service using Python.

5. The intelligent agent construction and application system based on a large language model according to claim 3, characterized in that, The aforementioned unified organization of various applications within the application management module, enabling the retrieval of basic application information and usage scope from the application management module based on different demand types, specifically includes: Build field matching rules for the application management module based on user task requirements, and generate different fields for different requirement types; Different application content fields are mapped based on different user needs, and then assembled to form a comprehensive description statement of the application.

6. The intelligent agent construction and application system based on a large language model according to claim 3, characterized in that, The process of piecing together the requirements and application list into a prompt statement and inputting it into the large model understanding engine, and then having the large model generate a solution to the task through heuristic solving, includes: The candidate application list, user input requirements, small sample data, and output data format are concatenated to form a prompt statement, which is then input into the large model. The large model returns the corresponding format of the calling program planning path. The program automatically parses the content of the program planning path and confirms whether all planned applications can be called. If they cannot be called or the application does not exist, the program uses the large model's multi-turn dialogue capability to iteratively ask questions until a fully callable program planning path is formed or the iteration limit has been reached.

7. The intelligent agent construction and application system based on a large language model according to claim 1, characterized in that, The intelligent agent building module can uniformly package the data and knowledge elements involved in the intelligent agent workflow module, ensuring independent execution, and then install and deploy them based on containers. Nodes in the workflow that cannot be successfully mapped, due to the lack of corresponding service implementations, need to be implemented through human-computer interaction, mainly including: A. Generate the missing node sub-requirements of the intelligent agent, taking the required functions in the process as input, and transform them into data format requirements and code function descriptions. B. Through the thinking chain capability of the large model, generate specific function names and parameter definitions; through the code generation capability of the large model, generate specific function implementations based on specific function names and parameter definitions, and compile and run the code through the compiler; C. Perform internal testing of the module using testing tools. If the test runs without errors, proceed to step D; otherwise, return to step B. D. Finally, the intelligent agent performs a trial run through the generated process. If there are no errors, the process of that node is stored in the workflow. If there are errors, it returns to process B for iteration.

8. The intelligent agent construction and application system based on a large language model according to claim 7, characterized in that, The aforementioned method utilizes the thought chain capability of a large model to generate specific function names and parameter definitions; and utilizes the code generation capability of the large model to generate specific function implementations based on these specific function names and parameter definitions, and then compiles and runs the code using a compiler. Specifically, this includes: Based on the missing node sub-requirements of the intelligent agent, two types of requirements are generated: specific data flow and program control flow. The data flow includes the program's input and output formats, both represented in JSON key-value format. The program control flow is mainly provided in the form of code, primarily generating function definitions and their corresponding inputs and outputs. Based on the requirements of the nodes in the program control flow, generate function implementations corresponding to function definitions, and implement program logic using multiple languages ​​such as Java and Python. Iterate through all nodes in the workflow to implement all function definitions and functionalities throughout the entire process; The workflow is executed to achieve unified aggregation of results, and the capabilities of the intelligent agent are solidified after human judgment.

9. The intelligent agent construction and application system based on a large language model according to claim 1, characterized in that, The intent understanding and execution module parses the user's natural language requirements, filters out similar processes from the perspectives of semantic similarity and context, and generates specific intelligent agent execution results through combined invocation. The specific implementation method is as follows: A. The need to recognize, parse, and convert user speech into natural language descriptions; B. Associate textual requirements with the capabilities of intelligent agents. This involves comprehensive calculations based on multiple dimensions, including semantic similarity, the context in which the requirement is made, and referential relationships. A candidate set of agents capable of handling the requirement is selected based on the similarity threshold, and then tested after user selection. C. Real-time monitoring of the inputs and outputs of various nodes in the process can clearly identify the operating status of all process nodes and the specific content of inputs and outputs, facilitating real-time monitoring. D. Finally, the execution process will be fed back to the user and the execution process will be stored.

Citation Information

Patent Citations

  • Context-aware and persona-based generative ai interpretation device and method for controlling the same

    KR102692549B1

  • Ubiquitous operating system oriented toward group intelligence perception

    WO2021213293A1