CN-121998589-A - Workflow generation method, device, equipment, medium and product
Abstract
The invention discloses a workflow generation method, a workflow generation device, workflow generation equipment, workflow generation media and workflow generation products. The method comprises the steps of responding to preset triggering operation, displaying a studio editing interface, responding to node selection operation of a user on the studio editing interface, calling preset functional nodes, wherein the functional nodes comprise at least one of large language model nodes, retrieval nodes, starting nodes, ending nodes, logic nodes, conversion nodes and tool nodes, responding to configuration operation of the user on each node on the studio editing interface, obtaining configuration information of each functional node, wherein the configuration information of each functional node comprises node attribute information and node relation, and generating a workflow based on the node attribute information and the node relation of each functional node on the studio editing interface.
Inventors
- WANG SHUAI
- FAN PENGPENG
- WANG TONG
- HU YUAN
- HuangFu Yuhua
Assignees
- 北京联创信安科技股份有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20260127
Claims (10)
- 1. A workflow generation method, comprising: Responding to a preset triggering operation, and displaying a studio editing interface; Responding to node selection operation of a user on the studio editing interface, and calling preset functional nodes, wherein the functional nodes comprise at least one of large language model nodes, retrieval nodes, starting nodes, ending nodes, logic nodes, conversion nodes and tool nodes; Responding to configuration operation of a user on the studio editing interface for each node, and acquiring configuration information of each functional node, wherein the configuration information of each functional node comprises node attribute information and node relation; and generating a workflow based on the node attribute information and the node relation of each functional node on the studio editing interface.
- 2. The method of claim 1, wherein the studio editing interface comprises a presentation area and an editing area; Responding to the node selection operation of the user on the studio editing interface, calling a preset functional node, comprising: Responding to the triggering operation of the user in the display area, and displaying a node list; And responding to the selection operation of a user on any node in the node list, calling a corresponding functional node, and displaying the node in the display area.
- 3. The method of claim 1, wherein obtaining configuration information for each functional node in response to a configuration operation for each node by a user on the studio editing interface, comprises: displaying an attribute configuration interface of the node under the condition that the parameter editing operation of the node is detected, and acquiring node attribute information of the corresponding functional node based on the attribute configuration interface; And acquiring connecting wires arranged among the nodes, and determining the node relation among the connected functional nodes based on the connecting wires.
- 4. The method of claim 1, wherein generating a workflow based on node attribute information and node relationships for each functional node on the studio editing interface, comprises: Responding to the triggering operation of a preview control of a user on the studio editing interface, generating a workflow based on node attribute information and node relation of each functional node on the studio editing interface, running the workflow, and displaying a preview interaction window; responding to the editing operation of a user in a preview interactive window, and acquiring a target problem text; Determining a reply text corresponding to the target question text based on the target question text and the workflow; and displaying the reply text corresponding to the target question text in a preview interactive window.
- 5. The method as recited in claim 4, further comprising: And responding to the triggering operation of the release control of the user on the studio editing interface, and releasing the workflow on the studio editing interface.
- 6. The method as recited in claim 1, further comprising: responding to the triggering operation of a knowledge base control on the studio editing interface by a user, and jumping to a knowledge base setting interface; and responding to the setting operation of the user on the knowledge base setting interface for the knowledge base, and acquiring at least one of an index mode, a model type and a retrieval setting of the knowledge base.
- 7. A workflow generating apparatus, comprising: the display module is used for responding to a preset triggering operation and displaying a studio editing interface; The calling module is used for responding to node selection operation of a user on the studio editing interface and calling preset functional nodes, wherein the functional nodes comprise at least one of large language model nodes, retrieval nodes, starting nodes, ending nodes, logic nodes, conversion nodes and tool nodes; The acquisition module is used for responding to the configuration operation of a user on the studio editing interface aiming at each node and acquiring the configuration information of each functional node, wherein the configuration information of each functional node comprises node attribute information and node relation; And the generating module is used for generating a workflow based on the node attribute information and the node relation of each functional node on the studio editing interface.
- 8. An electronic device, the electronic device comprising: At least one processor, and A memory communicatively coupled to the at least one processor, wherein, The memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the workflow generation method of any of claims 1-6.
- 9. A computer readable storage medium storing computer instructions for causing a processor to implement the workflow generation method of any one of claims 1-6 when executed.
- 10. A computer program product, characterized in that the computer program product comprises a computer program which, when executed by a processor, implements the workflow generation method according to any of claims 1-6.
Description
Workflow generation method, device, equipment, medium and product Technical Field The embodiment of the invention relates to the technical field of computers, in particular to a workflow generation method, a workflow generation device, workflow generation equipment, workflow generation media and workflow generation products. Background Along with the rapid development of artificial intelligence technology, a large language model is widely applied to a plurality of business scenes such as customer service, semantic search, office collaboration and the like by virtue of strong semantic understanding and generating capability. In the practical application process of the large language model, a plurality of bottlenecks to be broken through are still faced, and the three core problems of high landing threshold, high deployment and operation and maintenance cost and long project period are collectively presented. On the one hand, the existing large model application is limited to single question-answering or simple generation scenes, the adaptation capability to complex business processes is lacking, multi-step tasks, multi-tools and multiple data sources cannot be connected in series through a standardized process, on the other hand, under the complex business scenes, the native capability of the large model is only relied on to be easily constrained by prompt word quality and reasoning limit, so that task execution precision is insufficient, process controllability is poor, manual intervention cost is high, and automation and large-scale landing are difficult to realize. Under the background, how to construct workflow which can be deeply cooperated with a large model, efficiently adapt to a multi-service scene and land with a low threshold is a key technical problem to be solved in the landing process of the current artificial intelligence technology. Disclosure of Invention The embodiment of the invention provides a workflow generation method, a device, equipment, a medium and a product, which can construct a workflow which is deeply cooperated with a large model, efficiently adapts to a multi-service scene and falls to the ground with a low threshold. According to an aspect of the present invention, there is provided a workflow generating method, including: Responding to a preset triggering operation, and displaying a studio editing interface; Responding to node selection operation of a user on the studio editing interface, and calling preset functional nodes, wherein the functional nodes comprise at least one of large language model nodes, retrieval nodes, starting nodes, ending nodes, logic nodes, conversion nodes and tool nodes; Responding to configuration operation of a user on the studio editing interface for each node, and acquiring configuration information of each functional node, wherein the configuration information of each functional node comprises node attribute information and node relation; and generating a workflow based on the node attribute information and the node relation of each functional node on the studio editing interface. According to another aspect of the present invention, there is provided a workflow generating apparatus including: the display module is used for responding to a preset triggering operation and displaying a studio editing interface; The calling module is used for responding to node selection operation of a user on the studio editing interface and calling preset functional nodes, wherein the functional nodes comprise at least one of large language model nodes, retrieval nodes, starting nodes, ending nodes, logic nodes, conversion nodes and tool nodes; The acquisition module is used for responding to the configuration operation of a user on the studio editing interface aiming at each node and acquiring the configuration information of each functional node, wherein the configuration information of each functional node comprises node attribute information and node relation; And the generating module is used for generating a workflow based on the node attribute information and the node relation of each functional node on the studio editing interface. According to another aspect of the present invention, there is provided an electronic apparatus including: At least one processor, and A memory communicatively coupled to the at least one processor, wherein, The memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the workflow generation method of any one of the embodiments of the invention. According to another aspect of the present invention, there is provided a computer readable storage medium storing computer instructions for causing a processor to implement a workflow generation method according to any of the embodiments of the present invention when executed. According to another aspect of the invention, a computer program product is provided, which, when being executed by a processor, implements a wor