AI application rapid construction system based on visual workflow
Through the rapid construction of AI applications based on visual workflow, the system utilizes the Chain-of-Thought capabilities and multi-modal capabilities of large language models to achieve rapid construction of low-code, low-cost AI applications and solve the high-level problems in the construction of intelligent AI applications. The problems of cost and long research and development cycle have improved the development efficiency and system intelligence level.
Patent Information
- Application Number
- CN202410740222.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-07
- Publication Date
- 2024-09-10
AI Technical Summary
Enterprises and institutions face the problems of high costs and long R&D cycles in the construction of intelligent AI applications. The market requires low-cost, fast, and low-code methods for developing AI applications.
Use AI applications based on visual workflow to quickly build systems, including AI application builder, flow service module, plugin service module, knowledge service module, AI capability encapsulation service module and large model integration module, and generate large model Chain- through intelligent instruction services of-Thought thinking chain, realizes the logical thinking and business processing capabilities of AI applications, and quickly builds AI applications through process and visualization.
It achieves rapid development, low-code, and low-cost AI application construction, reduces development time and costs, meets the needs for intelligent upgrades of business systems, and improves development efficiency and system intelligence levels.
Smart Images

Figure CN118626073A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of AI application construction, and in particular to a system for rapidly constructing AI applications based on a visual workflow. Background Art
[0002] With the development of large language model artificial intelligence, enterprises and institutions are facing pain points such as high cost of building intelligent AI applications, long R&D cycle, and short talent supply in the process of upgrading from digitalization to intelligence. The market needs a low-cost, fast, and low-code method to develop AI applications.
[0003] For example, a Chinese patent with application number 202210377282.1 discloses an AI application generation method, an electronic device, and a storage medium, wherein the method includes: obtaining a module operation instruction acting on a target interface; executing the operation corresponding to the module operation instruction on the target module indicated by the module operation instruction to perform computational graph modeling; and generating a target AI application based on the computational graph determined by each module operation instruction.
[0004] Although the existing AI application generation method has reduced a lot of development costs, it still basically involves a lot of computing and time costs, so there is still a lot of room for improvement. Summary of the invention
[0005] The purpose of the present invention is to provide a system and method for automatically summarizing project progress based on a large language model.
[0006] The above-mentioned object of the present invention is achieved through the following technical solutions: a system for quickly building an AI application based on a visual workflow, comprising an AI application builder, a flow service module, a plugin service module, a knowledge service module, an AI capability encapsulation service module and a large model integration module, wherein the AI application builder is used to configure the flow service module, the plugin service module, the knowledge service module, the AI capability encapsulation service module and the large model integration module and quickly visually build an AI application, the flow service module is used to quickly build a flow service, realize the visual construction of an AI business process, and generate a flow service, the plugin service module is used to register application capabilities as a system plugin, and encapsulate them into a plugin unit service that can be recognized by a large model, the knowledge service module is used for knowledge content learning and training, and through RAG retrieval enhancement, the content is trained into a knowledge-base service that can be quickly retrieved by a large model, the AI capability encapsulation service module is used to encapsulate AI services for reference by the AI builder, and realize the Multimodal capability of the Agent, and the large model integration module is used to integrate multiple large models.
[0007] As a preferred embodiment of the present invention, the AI application builder supports Agent and Multi-agent development modes.
[0008] As a preferred embodiment of the present invention, the AI application builder specifically generates a large model Chain-of-Thought thinking chain through an intelligent instruction service, so that the AI application has logical thinking and business processing capabilities; provides action capabilities and information acquisition capabilities for the AI application through tool configuration plugin services and knowledge base services; provides business process processing capabilities for the AI application through flow services, and provides memory capabilities for the AI application through storage memory services; and realizes the Multimodal capabilities of the AI application through built-in long text recognition AI understanding, graphic AI understanding, and video AI understanding.
[0009] As a preferred embodiment of the present invention, the Multi agent development mode supports flow-type configuration of business flow logic to realize Multi agent application development.
[0010] As a preferred embodiment of the present invention, the AI application builder adopts LLM, flow, plugin, knowledge-base and other service communications to follow the unified ACE communication protocol so as to be uniformly recognized and called by Agent, flow and unit.
[0011] As a preferred embodiment of the present invention, the flow service module is based on the react-flow visual designer, and supports dragging and dropping nodes, node connections, node references, and free scaling of the canvas to realize business process orchestration.
[0012] As a preferred embodiment of the present invention, react-flow provides multiple built-in nodes, including: LLM node, JS-code node, knowledge node, IF node, plugin node, flow node, providing process trial operation capability, plugin node built-in network search, OCR parsing, link parsing, ID card query, vehicle information query node services, support the development of personal plug-in registration and publishing to the plugin node for react-flow to call.
[0013] As a preferred embodiment of the present invention, the plugin service module supports the registration of customer system services as plugin services. The system provides a standardized process for plugin unit registration, and supports customers to encapsulate their own system services into plugin units that can be recognized by LLM-agent and flow.
[0014] As a preferred embodiment of the present invention, the knowledge service module supports parsing of multiple text types, including doc, docx, PDF, txt, and link content recognition, and uses RAG retrieval enhancement to perform content vectorization processing. After completion, it is encapsulated into a knowledge service that can be called by LLM-agent and flow.
[0015] As a preferred embodiment of the present invention, it also includes a development space management service module, which provides personal development space and team development space for developers. The team space adopts the RBAC authority management mode, and the business and data are isolated between spaces to meet the scenarios of multi-person collaborative development and single-person development mode. It can integrate multiple large models, provide model registration services, and support the integration of open source models into the system.
[0016] Beneficial effects of the present invention:
[0017] This application is based on the widespread demand for upgrading the intelligence level of existing business systems based on large language model capabilities. It provides an AI application rapid construction system based on visual workflow to help developers achieve rapid development. It uses a low-code, visual, and process-based approach to achieve rapid calling of large language models, rapid construction of AI applications, and rapid AI business process AI application development, helping developers to achieve intelligent upgrades of business systems while meeting the pain points of reducing development costs and time costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 This is the overall architecture diagram of the system of the present invention;
[0019] Figure 2 A flowchart for fine-tuning the large language model of the present invention;
[0020] Figure 3 Using logic diagrams for the process of the present invention;
[0021] Figure 4 A logic diagram is used for the plug-in of the present invention. DETAILED DESCRIPTION
[0022] The present invention is further described in detail below in conjunction with the accompanying drawings.
[0023] This specific embodiment is merely an explanation of the present invention and is not a limitation of the present invention. After reading this specification, those skilled in the art may make non-creative modifications to this embodiment as needed, but such modifications are protected by patent law as long as they are within the scope of the claims of the present invention.
[0024] Example 1, as shown in the figure, is a system for rapidly building AI applications based on a visual workflow.
[0025] It includes an AI application builder, a flow service module, a plugin service module, a knowledge service module, an AI capability encapsulation service module and a large model integration module. The AI application builder is used to configure the flow service module, the plugin service module, the knowledge service module, the AI capability encapsulation service module and the large model integration module and quickly and visually build an AI application. The flow service module is used to quickly build a flow service, realize the visual construction of AI business processes, and generate a flow service. The plugin service module is used to register application capabilities as a system plugin and encapsulate them into a plugin unit service that can be recognized by a large model. The knowledge service module is used for knowledge content learning and training, and through RAG retrieval enhancement, the content is trained into a knowledge-base service that can be quickly retrieved by a large model. The AI capability encapsulation service module is used to encapsulate AI services for reference by the AI builder to realize the Multimodal capability of the Agent. The large model integration module is used to integrate multiple large models.
[0026] The AI application builder supports Agent and Multi-agent development modes.
[0027] The AI application builder specifically generates a large model Chain-of-Thought through intelligent instruction services, so that AI applications have logical thinking and business processing capabilities; provides action capabilities and information acquisition capabilities for AI applications through tool configuration plugin services and knowledge base services; provides business process processing capabilities for AI applications through flow services, and provides memory capabilities for AI applications through storage memory services; and realizes the Multimodal capabilities of AI applications through built-in long text recognition AI understanding, graphic AI understanding, and video AI understanding.
[0028] The Multi agent development mode supports flow-based configuration of business flow logic to achieve Multi agent application development.
[0029] The AI application builder uses LLM, flow, plugin, knowledge-base and other service communications to follow the unified ACE communication protocol so that it can be uniformly recognized and called by Agent, flow and unit.
[0030] The flow service module is based on the react-flow visual designer, which supports dragging and dropping nodes, node connections, node references, and free scaling of the canvas to achieve business process orchestration.
[0031] react-flow provides multiple built-in nodes, including: LLM node, JS-code node, knowledge node, IF node, plugin node, flow node, providing process trial run capability, plugin node built-in network search, OCR parsing, link parsing, ID card query, vehicle information query node services, support the development of personal plug-in registration and publishing to the plugin node for react-flow to call.
[0032] The plugin service module supports the registration of customer system services as plugin services. The system provides a standardized process for plugin unit registration, and supports customers to encapsulate their own system services into plugin units that can be recognized by LLM-agent and flow.
[0033] The knowledge service module supports parsing of multiple text types, including doc, docx, PDF, txt, and link content recognition, and uses RAG retrieval enhancement to perform content vectorization processing. After completion, it is encapsulated into a knowledge service that can be called by LLM-agent and flow.
[0034] It also includes a development space management service module, which provides developers with personal development space and team development space. The team space adopts the RBAC authority management model, and the business and data are isolated between spaces to meet the scenarios of multi-person collaborative development and single-person development mode. It can integrate multiple large models, provide model registration services, and support the integration of open source models into the system.
[0035] Here is a specific example, including:
[0036] AI application builder: used for rapid construction of AI applications using GUI (graphical user interface - visualization), zero-code configuration of LLM (large language model) service module, flow (workflow engine) service module, plugin (plug-in) service module, knowledge-base (knowledge base) service module, and AI capability encapsulation service module, to achieve rapid generation of AI applications;
[0037] Flow service module: used to quickly build flow services, implement AI business process GUI construction with low code, and generate flow services;
[0038] Plugin service module: used to register application capabilities as system plugins and encapsulate them into plugin unit services that can be recognized by large models;
[0039] Knowledge service module: used for knowledge content learning and training. Through RAG (Retrieval Augmented Generation) retrieval enhancement, the content is trained into a knowledge-base service that can be quickly retrieved by a large model.
[0040] AI capability encapsulation service module: used to encapsulate AI services for reference by AI builders, including but not limited to AI image understanding, AI video understanding, AI document understanding and other services, to realize the multimodal capabilities of Agents;
[0041] Also needed is a space service module: used for team development space management to meet the needs of multi-developer collaborative development.
[0042] Furthermore, it also includes: AI application builder is a low-code visual AI application building tool that supports Agent and Multi Agent (multi-agent) development modes, generates a large model Chain-of-Thought (thinking chain) through intelligent instruction services, and enables AI applications to have logical thinking and business processing capabilities; through tool configuration plugin services and knowledge base services, provide AI applications with action capabilities and information acquisition capabilities; provide business process processing capabilities for AI applications through flow services, and provide memory capabilities for AI applications through storage memory services; realize AI application Multimodal capabilities through built-in long text recognition AI understanding, graphic AI understanding, and video AI understanding; Multi Agent development mode supports flow-based configuration of business flow logic to realize Multi Agent application development. The system also provides trial operation debugging services to realize rapid debugging of AI applications. After debugging is completed, the application is released. The system installs the configured business logic into AI application services, generates AI applications with one click, and supports external services to integrate and call AI applications in the form of URL, iframe, API, and unit-SDK; it also includes: LLM, flow, plugin, knowledge-base and other service communications follow the unified ACE communication protocol so that they can be uniformly recognized and called by Agent, flow, and unit.
[0043] Furthermore, flow (workflow engine) is based on react-flow visual designer. react-flow is a library for building node-based applications. It supports dragging and dropping nodes, node connections, node references, and free canvas scaling to achieve business process orchestration. Use @reduxjs / toolkit to effectively manage the state of the flow workflow engine. @reduxjs / toolkit is a toolkit developed by Redux to simplify and improve the development experience. It provides a set of common tools and utilities for building applications with Redux to ensure the correctness and consistency of the flow workflow engine. Support flow to publish flow services that can be called by large models. The system optimizes component rendering, data transmission, and state updates to ensure that the flow service can still maintain high performance when used on a large scale. react-flow provides multiple built-in nodes, including: LLM node, JS-code node, knowledge node, IF node, plugin node, flow node, providing process trial run capability. The plugin node has built-in network search, OCR parsing, link parsing, ID card query, vehicle information query and more than 10 other node services. It supports the development of personal plug-in registration and publishing to the plugin node for react-flow to call, thereby reducing the cost of developing AI business flows.
[0044] Furthermore, it also includes: supporting the registration of customer system services as plugin services. The system provides a standardized process for plugin unit registration, supporting customers to encapsulate their own system services into plugin units that can be recognized by LLM-Agent (Large Language Model Agent) and flow. The system also has more than 10 built-in general plugins.
[0045] Furthermore, it also includes: supporting the analysis of multiple text types, including doc, docx, PDF, txt, link and other types of content recognition, using RAG retrieval enhancement method to vectorize the content, and then encapsulating it into a knowledge service that can be called by LLM-agent and flow.
[0046] Furthermore, it also includes: providing developers with personal development space and team development space. The team space adopts the RBAC permission management model, and the business and data are isolated between spaces to meet the scenarios of multi-person collaborative development and single-person development mode.
[0047] Furthermore, the system can integrate the mainstream big models widely used in the market, provide model registration services, and support the integration of open source models into the system. Support types include professional models for specific industries and general basic models. Developer users can call multiple big models at the same time through a flow, configure big models of different agents through Multi Agent, and select the most suitable big model for configuration in different development scenarios.
[0048] This application discloses a visual process-based codeless AI application construction system, which configures LLM-prompts, flow services, plugin services and knowledge-base services through low-code process-based visual configuration to achieve a system for quickly building artificial intelligence (AI) applications.
[0049] Core features include: Building an AI application visual builder based on the large model Chain-of-Thought: The system uses the Chain-of-Thought capability of the large language model to build business processing logic, giving AI applications similar thinking, decision-making and action capabilities. The large language model Chain-of-Thought is configured and orchestrated through the instruction service, the AI's ability to acquire knowledge and act is configured through the plugin service and flow service, and the knowledge RAG retrieval enhancement and long-term memory capabilities of AI applications are realized through the knowledge-base service and long-term memory service. Users can build AI applications through fast visual orchestration. The system integrates the large language models widely used in the market, including professional models for specific industries and general basic models. Users can choose the most suitable large language model for AI application construction in different scenarios.
[0050] The plugin service is designed as a tool that can expand the action capabilities of large models. The system provides plugin unit registration services for developers. Software business applications are encapsulated into pluggable plugin units through plugin services and integrated into the system.
[0051] The knowledge-base service is designed as a tool that can expand the knowledge storage capacity of large models. As an important component, it automatically fills in the knowledge gaps of large models through reinforcement learning and active learning with human feedback (RLHF) technology, and improves the retrieval efficiency of large models through RAG retrieval enhancement, thereby improving the knowledge expertise and stability of the entire system.
[0052] The flow service can provide complex business processing capabilities for large models. AI-flow can visually arrange plugins, LLM, knowledge, code, flow, if, etc. according to react-flow nodes, implement more complex AI business orchestration according to customer business needs, and quickly orchestrate more complex AI business flows with low code. One of the goals of this method is to simplify the development process of AI applications, so that users without programming experience can also perform application flow orchestration through drag-and-drop visual operations, provide flow service support for AI application construction, and thus accelerate the arrival of the era of general artificial intelligence (AGI).
[0053] This application combines the Chain-of-Thought capability of the large language model with plugin, LLM, and knowledge, overcoming the limitations of the large model's own thinking, knowledge, and actions, realizing the combination of AI and actual business applications, and expanding the actual application scenarios of AI large language models in digital software applications, taking into account the practicality and convenience of development.
[0054] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A system for rapidly building AI applications based on visual workflow, characterized in that: It includes an AI application builder, a flow service module, a plugin service module, a knowledge service module, an AI capability encapsulation service module and a large model integration module. The AI application builder is used to configure the flow service module, the plugin service module, the knowledge service module, the AI capability encapsulation service module and the large model integration module and quickly and visually build an AI application. The flow service module is used to quickly build a flow service, realize the visual construction of AI business processes, and generate a flow service. The plugin service module is used to register application capabilities as a system plugin and encapsulate them into a plugin unit service that can be recognized by a large model. The knowledge service module is used for knowledge content learning and training, and through RAG retrieval enhancement, the content is trained into a knowledge-base service that can be quickly retrieved by a large model. The AI capability encapsulation service module is used to encapsulate AI services for reference by the AI builder to realize the Multimodal capability of the Agent. The large model integration module is used to integrate multiple large models.
2. According to claim 1, a system for rapidly building AI applications based on visual workflows is characterized in that: The AI application builder supports Agent and Multi-agent development modes.
3. According to claim 2, a system for rapidly building AI applications based on visual workflows is characterized in that: The AI application builder specifically generates a large model Chain-of-Thought through intelligent instruction services, so that AI applications have logical thinking and business processing capabilities; provides action capabilities and information acquisition capabilities for AI applications through tool configuration plugin services and knowledge base services; provides business process processing capabilities for AI applications through flow services, and provides memory capabilities for AI applications through storage memory services; and realizes the Multimodal capabilities of AI applications through built-in long text recognition AI understanding, graphic AI understanding, and video AI understanding.
4. According to claim 2, a system for rapidly building AI applications based on visual workflows is characterized in that: The Multi agent development mode supports flow-based configuration of business flow logic to achieve Multi agent application development.
5. According to claim 2, a system for rapidly building AI applications based on visual workflows is characterized in that: The AI application builder uses LLM, flow, plugin, knowledge-base and other service communications to follow the unified ACE communication protocol so that it can be uniformly recognized and called by Agent, flow and unit.
6. According to claim 1, a system for rapidly building AI applications based on visual workflows is characterized in that: The flow service module is based on the react-flow visual designer, which supports dragging and dropping nodes, node connections, node references, and free scaling of the canvas to achieve business process orchestration.
7. The AI application rapid construction system based on visual workflow according to claim 6 is characterized in that: react-flow provides multiple built-in nodes, including: LLM node, JS-code node, knowledge node, IF node, plugin node, flow node, providing process trial run capability, plugin node built-in network search, OCR parsing, link parsing, ID card query, vehicle information query node services, support the development of personal plug-in registration and publishing to the plugin node for react-flow to call.
8. The AI application rapid construction system based on visual workflow according to claim 1 is characterized in that: The plugin service module supports the registration of customer system services as plugin services. The system provides a standardized process for plugin unit registration, and supports customers to encapsulate their own system services into plugin units that can be recognized by LLM-agent and flow.
9. The AI application rapid construction system based on visual workflow according to claim 1 is characterized in that: The knowledge service module supports parsing of multiple text types, including doc, docx, PDF, txt, and link content recognition, and uses RAG retrieval enhancement to perform content vectorization processing. After completion, it is encapsulated into a knowledge service that can be called by LLM-agent and flow.
10. The AI application rapid construction system based on visual workflow according to claim 1, characterized in that: It also includes a development space management service module, which provides developers with personal development space and team development space. The team space adopts the RBAC authority management model, and the business and data are isolated between spaces to meet the scenarios of multi-person collaborative development and single-person development mode. It can integrate multiple large models, provide model registration services, and support the integration of open source models into the system.
Citation Information
Cited By
Zero-code multi-terminal application automatic construction method based on AI semantic understanding
CN120144107A
Platform for agentic AI creation, contextualized enterprise data interaction, and enterprise memory
US12554723B1
