Application creation method and apparatus, device and storage medium
By configuring workflow components and starting nodes in the application editing interface, the uncertainty of robot program workflow triggering is resolved, resulting in more stable task processing quality.
Patent Information
- Application Number
- PCT/CN2025/107136
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-07-09
- Filing Date
- 2025-07-04
- Publication Date
- 2026-01-15
AI Technical Summary
In existing technologies, the workflow triggering of robot programs has strong uncertainty, which leads to unstable task processing quality.
The application editing interface is displayed by selecting the target application creation mode, including workflow configuration components. The target workflow is added, and the starting node is configured to directly handle user requests to determine preset parameters, ensuring that the workflow is invoked in each processing step.
It improves the quality and stability of request processing, ensuring that the workflow is invoked in each processing step, thereby enhancing the application's task processing quality.
Smart Images

Figure CN2025107136_15012026_PF_FP_ABST
Abstract
Description
Methods, apparatus, devices, and storage media for creating applications
[0001] This application claims priority to Chinese Patent Application No. 202410918040.8, filed on July 9, 2024, entitled “Method, Apparatus, Device and Storage Medium for Creating an Application”, the entire contents of which are incorporated herein by reference. Technical Field
[0002] The exemplary embodiments disclosed herein relate generally to the field of computers, and more particularly to methods, apparatus, devices, and computer-readable storage media for creating applications. Background Technology
[0003] With the development of computer technology, people can create and publish various types of applications through various platforms. For example, with the development of machine learning technology, people can quickly create applications by configuring application parameters, such as the models used by the application and available plugins. Summary of the Invention
[0004] In a first aspect of this disclosure, a method for creating an application is provided. The method includes: displaying an application editing interface based on a selection of a target application creation mode, the editing interface including a workflow configuration component; adding a target workflow via the workflow configuration component, the target workflow including multiple processing nodes; and creating a target application based on the target workflow, wherein a starting node among the multiple processing nodes is configured to directly process user requests received by the target application to determine preset parameters in the target workflow.
[0005] In a second aspect of this disclosure, an apparatus for creating an application is provided. The apparatus includes: a display module configured to display an application editing interface based on a selection of a target application creation mode, the editing interface including a workflow configuration component; an adding module configured to add a target workflow via the workflow configuration component, the target workflow including multiple processing nodes; and a creation module configured to create a target application based on the target workflow, wherein a starting node among the multiple processing nodes is configured to directly process user requests received by the target application to determine preset parameters in the target workflow.
[0006] In a third aspect of this disclosure, an electronic device is provided. The device includes at least one processor; and at least one memory coupled to the at least one processor and storing instructions for execution by the at least one processor. When executed by the at least one processor, the instructions cause the device to perform the method of the first aspect.
[0007] In a fourth aspect of this disclosure, a computer-readable storage medium is provided. The computer-readable storage medium stores computer-executable instructions that can be executed by a processor to implement the method of the first aspect.
[0008] In a fifth aspect of this disclosure, a computer program product is provided. The computer program product is tangibly stored in a computer storage medium and includes computer-executable instructions that, when executed by a processor, implement the method of the first aspect.
[0009] It should be understood that the content described in this content section is not intended to limit the key or essential features of the embodiments of this disclosure, nor is it intended to restrict the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description
[0010] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. In the drawings, the same or similar reference numerals denote the same or similar elements, wherein:
[0011] Figure 1 shows a schematic diagram of an example environment in which embodiments of the present disclosure may be implemented;
[0012] Figure 2 illustrates a flowchart of an example process for creating an application according to some embodiments of the present disclosure;
[0013] Figures 3A to 3C illustrate example interfaces according to some embodiments of the present disclosure;
[0014] Figure 4 shows a schematic structural block diagram of an example apparatus for creating an application according to some embodiments of the present disclosure; and
[0015] Figure 5 shows a block diagram of an electronic device capable of implementing several embodiments of the present disclosure. Detailed Implementation
[0016] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.
[0017] It should be noted that the headings of any section / subsection provided herein are not limiting. Various embodiments are described throughout this document, and embodiments of any type may be included under any section / subsection. Furthermore, embodiments described in any section / subsection may be combined in any way with any other embodiments described in the same section / subsection and / or different sections / subsections.
[0018] In the description of embodiments of this disclosure, the term "comprising" and similar terms should be understood as open-ended inclusion, i.e., "including but not limited to". The term "based on" should be understood as "at least partially based on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may also be included below. The terms "first", "second", etc., may refer to different or the same objects. Other explicit and implicit definitions may also be included below.
[0019] The embodiments of this disclosure may involve user data, data acquisition, and / or use. All of these aspects comply with applicable laws, regulations, and relevant provisions. In the embodiments of this disclosure, all data collection, acquisition, processing, manipulation, forwarding, and use are conducted with the user's knowledge and confirmation. Accordingly, in implementing the embodiments of this disclosure, the type, scope of use, and usage scenarios of any data or information that may be involved should be communicated to the user and their authorization obtained in accordance with relevant laws and regulations through appropriate means. The specific methods of notification and / or authorization may vary depending on the actual situation and application scenario, and the scope of this disclosure is not limited in this respect.
[0020] In this specification and the embodiments, any processing of personal information will be carried out only under the premise of legality (such as obtaining the consent of the personal information subject, or being necessary for the performance of a contract), and will only be carried out within the scope stipulated or agreed upon. A user's refusal to process personal information other than that necessary for basic functions will not affect the user's use of basic functions.
[0021] Traditionally, users can quickly create applications, such as bots, by configuring the models and plugins used by the application. In some scenarios, applications like bots can be configured to invoke workflows. A bot can, for example, handle specific tasks by invoking a workflow. However, the triggering of such workflows is highly uncertain, leading to inconsistent task processing quality.
[0022] Embodiments of this disclosure propose an application creation scheme. According to this scheme, an application editing interface can be displayed based on the selection of a target application creation mode. The editing interface includes a workflow configuration component. Further, a target workflow, comprising multiple processing nodes, can be added via the workflow configuration component. Accordingly, a target application can be created based on the target workflow, wherein the starting node among the multiple processing nodes is configured to directly process user requests received by the target application to determine preset parameters in the target workflow.
[0023] Based on the process described above, embodiments of this disclosure can support the creation of workflow-based applications and ensure that the workflow is invoked in every processing step, thereby improving the quality of request processing.
[0024] The following section provides a detailed description of various example implementations of this scheme, with reference to the accompanying drawings.
[0025] Example Environment
[0026] Figure 1 illustrates a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. As shown in Figure 1, the example environment 100 may include an electronic device 110.
[0027] In this example environment 100, electronic device 110 can run an application 120 that supports user interface interaction. Application 120 can be any suitable type of application for user interface interaction, and examples may include, but are not limited to, applications for development or other suitable applications that support application development. User 140 can interact with application 120 via electronic device 110 and / or its attached devices.
[0028] In environment 100 of Figure 1, if application 120 is active, electronic device 110 can use application 120 to present interface 150 for supporting application creation.
[0029] In some embodiments, electronic device 110 communicates with server 130 to provide services to application 120. Electronic device 110 can be any type of mobile terminal, fixed terminal, or portable terminal, including mobile phones, desktop computers, laptop computers, notebook computers, netbook computers, tablet computers, media computers, multimedia tablets, handheld computers, portable gaming terminals, VR / AR devices, personal communication system (PCS) devices, personal navigation devices, personal digital assistants (PDAs), audio / video players, digital cameras / camcorders, positioning devices, television receivers, radio receivers, e-book devices, gaming devices, or any combination thereof, including accessories and peripherals of these devices or any combination thereof. In some embodiments, electronic device 110 can also support any type of user-facing interface (such as "wearable" circuitry).
[0030] Server 130 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks, and big data and artificial intelligence platforms. Server 130 may include, for example, computing systems / servers such as mainframes, edge computing nodes, computing devices in a cloud environment, etc. Server 130 can provide backend services for applications 120 that support virtual scenarios in electronic devices 110.
[0031] A communication connection can be established between server 130 and electronic device 110. This communication connection can be established via wired or wireless means. The communication connection may include, but is not limited to, Bluetooth, mobile network, Universal Serial Bus (USB), and Wireless Fidelity (WiFi) connections; the embodiments of this disclosure are not limited in this respect. In the embodiments of this disclosure, server 130 and electronic device 110 can achieve signaling interaction through the communication connection between them.
[0032] It should be understood that the structure and function of the various elements in environment 100 are described for illustrative purposes only and do not imply any limitation on the scope of this disclosure.
[0033] The following description will continue with reference to the accompanying drawings, which will provide some exemplary embodiments of this disclosure.
[0034] Example application creation process
[0035] Figure 2 shows a flowchart of a process 200 for creating an application according to some embodiments of the present disclosure. Process 200 can be implemented at an electronic device 110. Process 200 will now be described with reference to Figure 1.
[0036] In box 210, electronic device 110 displays an application editing interface based on the selection of the target application creation mode. The editing interface includes workflow configuration components.
[0037] Figure 3A illustrates an example interface 300A according to some embodiments of the present disclosure. Interface 300A is an application editing interface provided by electronic device 110.
[0038] As an example, the electronic device 110 can receive the user's selection of the target application creation mode (e.g., workflow mode) via the control 305, and can accordingly present the application editing interface as shown in Figure 3A.
[0039] In some embodiments, the electronic device 110 may also support users to create applications via other creation modes. For example, the electronic device 110 may support users to create bots based on a single agent, or bots based on multiple agents, etc.
[0040] As shown in Figure 3A, in the target application creation mode, interface 300A can provide multiple components. Specifically, interface 300A may include workflow configuration component 310, parameter configuration component 320, and debugging component 325. Specific details about each component will be described in detail below.
[0041] In box 220, electronic device 110 adds a target workflow via a workflow configuration component, the target workflow including multiple processing nodes.
[0042] As shown in Figure 3A, the electronic device 110 can provide a workflow configuration component 310 in the interface 300A and can display an add entry 315. In some embodiments, the electronic device 110 can receive preset operations for the workflow configuration component 310 (e.g., selection of add entry 315) and can accordingly present a window as shown in Figure 3B.
[0043] As shown in Figure 3B, the electronic device 110 can present a set of candidate workflows, such as workflow 340-1, workflow 340-2, etc. Furthermore, the electronic device 110 can receive a user's selection of a target workflow (e.g., workflow 340-1) (e.g., selection of adding control 345-1), and can accordingly display the added target workflow in the interface 300A, such as associating workflow 340-1 with the application to be created.
[0044] In some embodiments, the workflow presented in window 300B may include multiple workflows that the current user has access to. Additionally, the electronic device 110 may determine whether each workflow matches a target application creation pattern (i.e., workflow pattern).
[0045] In some examples, only workflows whose starting nodes meet preset conditions are allowed to be added. For example, the starting node of workflow 340-1 can read user input messages and store them as variables in the workflow; the starting node of workflow 340-2, for example, is not configured to read user input messages.
[0046] In this scenario, workflow 340-1 may match the target application creation pattern, while workflow 340-2 may not. Accordingly, electronic device 110 may provide an add control 345-1 for adding workflow 340-1 and may disable the add control 345-2 corresponding to workflow 340-2.
[0047] In some embodiments, the electronic device 110 may also provide a creation entry point, for example, within the workflow configuration component 310 (or a window triggered by it). The electronic device 110 may also present a workflow editing interface for creating workflows based on the selection of the creation entry point. Furthermore, the electronic device 110 may add workflows created via the workflow editing interface.
[0048] In some embodiments, an existing or newly created workflow may have multiple processing nodes. It should be understood that workflows can be edited in any appropriate manner.
[0049] In some embodiments, for the target application creation mode, the starting node of the target workflow can be configured to directly handle user requests received by the created target application. As shown in FIG3C, the electronic device 110 can provide a configuration window 300C for the starting node.
[0050] As shown in Figure 3C, the electronic device 110 can be configured to have its starting node set to extract one or more parameters (or variables) based on a received user request (e.g., a message entered by the user), such as parameters 350 and 355.
[0051] In some embodiments, parameter 350 is, for example, a required parameter, which may be used to store the message content entered by the user and may be passed to other appropriate nodes in the workflow via the variable “USER_INPUT” for subsequent processing.
[0052] In some embodiments, the electronic device 110 can also define parameters 355 that need to be extracted based on user requests, based on user configuration operations. The electronic device 110 can obtain configuration information about parameters 355, which can indicate the type of parameter 355, its description, and whether the parameter 355 must be extracted.
[0053] As an example, electronic device 110 can also add parameters that need to be extracted based on the user's selection of control 360.
[0054] Referring again to Figure 3A, after the target workflow is added, the electronic device 110 can, for example, update the workflow configuration component 310 to display the added target workflow.
[0055] Additionally, the electronic device 110 may also provide a parameter configuration component 320 to acquire a set of configuration information. In some embodiments, the set of configuration information acquired via the parameter configuration component 320 is associated with the execution of a target workflow. For example, the set of configuration information may include memory parameters associated with the target workflow, such as variable parameters and database parameters. By configuring the memory parameters, the target workflow can, for example, access and update defined variables and / or the database during execution.
[0056] Additionally, such a set of configuration information may also include one or more dialogue parameters, such as the target application's opening remarks, suggested questions displayed by the target application, and the background style of the target application's message area. Alternatively, such a set of configuration information may also include voice parameters to set the voice style of the voice content provided by the target application.
[0057] Referring again to Figure 2, in box 230, electronic device 110 creates a target application based on the target workflow, wherein the starting node among multiple processing nodes is configured to directly process user requests received by the target application to determine preset parameters in the target workflow.
[0058] As shown in Figure 3A, the electronic device 110 can obtain application configuration information, for example, through interface 300A, and can create a corresponding application based on the selection of publishing control 335. Such applications may include, for example, agents, bots, etc. Furthermore, the created agents or bots may be published or shared with other users.
[0059] In some embodiments, with the publisher's permission, other users may be allowed to create templates for published applications and create new applications by editing the corresponding configuration information, thereby improving application efficiency.
[0060] In some embodiments, as shown in FIG3A, the electronic device 110 may also support debugging of the target application to be released via the debugging component 325. For example, the electronic device 110 may simulate inputting a specific message to the target application via the input control 330, and may view the processing result of the target application for the specific message via the debugging component 325.
[0061] In some embodiments, upon receiving a user request, the target application can directly provide the user request to the starting node in the target workflow to trigger the starting node to process the user request. Specifically, as described above, the starting node can determine one or more preset parameters based on the user request, such as parameter 350 and / or parameter 355 described above.
[0062] In some embodiments, a parameter (e.g., parameter 350) can be configured as a required parameter. Accordingly, if the initiating node fails to determine this parameter from the user request, the initiating node can further provide the user with an inquiry message to obtain the user's response content. Further, the initiating node can determine parameter 350 based on the received response content.
[0063] In some embodiments, such an inquiry and response process can continue for a maximum of a preset number of rounds. In some embodiments, if the starting node fails to determine the parameter based on the user input message within the preset number of rounds, the target application may trigger the execution of the next processing node in the target workflow, or the target application may stop responding to the user request.
[0064] Upon receiving a user request, the target application can disregard the specific intent of the user request and always trigger the initiating node to process it. In this way, the target application can ensure that the target workflow is always triggered.
[0065] In some embodiments, the target workflow may further include, for example, a model processing node associated with a machine learning model (e.g., a language model). Further, in the editing interface of the target workflow, the electronic device 110 may also provide a configuration window for the model processing node. Additionally, the electronic device 110 may associate a reference application with the target workflow via context configuration controls in the configuration window.
[0066] For example, electronic device 110 can support associating other appropriate bots with the target workflow. Thus, during the debugging or execution of the target application, contextual information associated with the reference application (e.g., a bot) (e.g., dialogue messages in the bot) can be provided to the target model corresponding to the model processing node, enabling the target model to process tasks based on this contextual information.
[0067] Based on the process described above, embodiments of this disclosure can support the creation of workflow-based applications and ensure that the workflow is invoked in every processing step, thereby improving the quality of request processing.
[0068] Example devices and equipment
[0069] Embodiments of this disclosure also provide corresponding apparatus for implementing the methods or processes described above. FIG4 shows a schematic structural block diagram of an example apparatus 400 for creating an application according to certain embodiments of this disclosure. Apparatus 400 may be implemented as or included in electronic device 110. The various modules / components in apparatus 400 may be implemented by hardware, software, firmware, or any combination thereof.
[0070] As shown in Figure 4, the device 400 includes a display module 410 configured to display an application editing interface based on the selection of a target application creation mode, the editing interface including a workflow configuration component; an add module 420 configured to add a target workflow via the workflow configuration component, the target workflow including multiple processing nodes; and a create module 430 configured to create a target application based on the target workflow, wherein the starting node among the multiple processing nodes is configured to directly process user requests received by the target application to determine preset parameters in the target workflow.
[0071] In some embodiments, the display module 410 is further configured to: present a set of candidate workflows based on preset operations on the workflow configuration component; and add a target workflow in response to the selection of a target workflow from the set of candidate workflows.
[0072] In some embodiments, the apparatus 400 further includes a control rendering module configured to render an add control corresponding to at least one workflow in a set of candidate workflows that matches the target application creation pattern.
[0073] In some embodiments, the display module 410 is further configured to: present a workflow editing interface based on the selection of a creation entry in the workflow configuration component; and add a target workflow created via the workflow editing interface.
[0074] In some embodiments, the starting node is further configured to: provide an inquiry message in response to the inability to determine the preset parameter from the user request; and receive a response to the inquiry message to determine the preset parameter based on the response content.
[0075] In some embodiments, the device 400 further includes a configuration information acquisition module, configured to acquire a set of configuration information via an application editing interface, the set of configuration information being associated with the execution process of the target workflow.
[0076] In some embodiments, a set of configuration information indicates memory parameters associated with the target workflow.
[0077] In some embodiments, the apparatus 400 further includes a control providing module configured to: provide a context configuration control in the configuration window of the model processing node; and associate a reference application with a target workflow based on the context configuration control, such that context information associated with the reference application is provided to the target model corresponding to the model processing node.
[0078] In some embodiments, the target application is configured to trigger the initiating node to process the user request in response to receiving the user request, independent of the intent of the user request.
[0079] Figure 5 shows a block diagram of an electronic device 500 in which one or more embodiments of the present disclosure may be implemented. It should be understood that the electronic device 500 shown in Figure 5 is merely exemplary and should not constitute any limitation on the functionality and scope of the embodiments described herein. The electronic device 500 shown in Figure 5 can be used to implement the electronic device 110 of Figure 1.
[0080] As shown in Figure 5, the electronic device 500 is in the form of a general-purpose electronic device. Components of the electronic device 500 may include, but are not limited to, one or more processors or processing units 510, memory 520, storage devices 530, one or more communication units 540, one or more input devices 550, and one or more output devices 560. The processing unit 510 may be a physical or virtual processor and is capable of performing various processes according to programs stored in the memory 520. In a multiprocessor system, multiple processing units execute computer-executable instructions in parallel to improve the parallel processing capability of the electronic device 500.
[0081] Electronic device 500 typically includes multiple computer storage media. Such media can be any accessible media that is accessible to electronic device 500, including but not limited to volatile and non-volatile media, removable and non-removable media. Memory 520 can be volatile memory (e.g., registers, cache, random access memory (RAM)), non-volatile memory (e.g., read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. Storage device 530 can be removable or non-removable media and can include machine-readable media, such as flash drives, disks, or any other media that can be used to store information and / or data and can be accessed within electronic device 500.
[0082] Electronic device 500 may further include additional removable / non-removable, volatile / non-volatile storage media. Although not shown in FIG. 5, disk drives for reading from or writing to removable, non-volatile disks (e.g., "floppy disks") and optical disk drives for reading from or writing to removable, non-volatile optical disks may be provided. In these cases, each drive may be connected to a bus (not shown) via one or more data media interfaces. Memory 520 may include computer program product 525 having one or more program modules configured to perform various methods or actions of various embodiments of the present disclosure.
[0083] Communication unit 540 enables communication with other electronic devices via a communication medium. Additionally, the functionality of components of electronic device 500 can be implemented using a single computing cluster or multiple computing machines capable of communicating via communication connections. Therefore, electronic device 500 can operate in a networked environment using logical connections to one or more other servers, network personal computers (PCs), or another network node.
[0084] Input device 550 can be one or more input devices, such as a mouse, keyboard, trackball, etc. Output device 560 can be one or more output devices, such as a monitor, speaker, printer, etc. Electronic device 500 can also communicate with one or more external devices (not shown) via communication unit 540 as needed. These external devices include storage devices, display devices, etc., and can communicate with one or more devices that enable user interaction with electronic device 500, or with any device that enables electronic device 500 to communicate with one or more other electronic devices (e.g., network card, modem, etc.). Such communication can be performed via input / output (I / O) interface (not shown).
[0085] According to an exemplary implementation of this disclosure, a computer-readable storage medium is provided that stores computer-executable instructions thereon, wherein the computer-executable instructions are executed by a processor to implement the methods described above. According to an exemplary implementation of this disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, which are executed by a processor to implement the methods described above.
[0086] Various aspects of this disclosure are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatuses, devices, and computer program products implemented according to this disclosure. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.
[0087] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processing unit of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.
[0088] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions that execute on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.
[0089] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction, which contains one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
[0090] Various implementations of this disclosure have been described above. These descriptions are exemplary and not exhaustive, nor are they limited to the disclosed implementations. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described implementations. The terminology used herein is chosen to best explain the principles, practical applications, or improvements to technology in the market, or to enable others skilled in the art to understand the various implementations disclosed herein.
Claims
1. A method for creating an application, comprising: Based on the selection of the target application creation mode, the application editing interface is displayed, which includes a workflow configuration component; A target workflow, comprising multiple processing nodes, is added via the workflow configuration component. as well as Based on the target workflow, a target application is created, wherein the starting node among the plurality of processing nodes is configured to directly process user requests received by the target application in order to determine preset parameters in the target workflow.
2. The method of claim 1, wherein adding the target workflow via the workflow configuration component comprises: Based on the preset operations of the workflow configuration components, a set of candidate workflows is presented; as well as In response to the selection of the target workflow from the set of candidate workflows, the target workflow is added.
3. The method according to claim 2, further comprising: In response to at least one workflow in the set of candidate workflows matching the target application creation pattern, an add control corresponding to the at least one workflow is presented.
4. The method of claim 1, wherein adding the target workflow via the workflow configuration component comprises: Based on the selection of the creation entry point in the workflow configuration component, a workflow editing interface is presented; as well as Add the target workflow created via the workflow editing interface.
5. The method of claim 1, wherein the starting node is further configured to: In response to the inability to determine the preset parameter from the user request, an inquiry message is provided; and Receive the response content to the query message, and determine the preset parameters based on the response content.
6. The method according to claim 1, further comprising: A set of configuration information is obtained through the application editing interface, and the set of configuration information is associated with the execution process of the target workflow.
7. The method of claim 6, wherein the set of configuration information indicates memory parameters associated with the target workflow.
8. The method according to claim 1, wherein the plurality of processing nodes includes a model processing node, and the method further includes: A context configuration control is provided in the configuration window of the model processing node; as well as Based on the context configuration control, the reference application is associated with the target workflow, so that the context information associated with the reference application is provided to the target model corresponding to the model processing node.
9. The method of claim 1, wherein the target application is configured to: In response to receiving the user request, the initiating node is triggered to process the user request independently of the intent of the user request.
10. An apparatus for creating an application, comprising: The display module is configured to display an application editing interface based on the selection of the target application creation mode, the editing interface including a workflow configuration component; The module is configured to add a target workflow, which includes multiple processing nodes, via the workflow configuration component. as well as A creation module is configured to create a target application based on the target workflow, wherein the starting node among the plurality of processing nodes is configured to directly process user requests received by the target application in order to determine preset parameters in the target workflow.
11. An electronic device, comprising: At least one processor; as well as At least one memory coupled to the at least one processor and storing instructions for execution by the at least one processor, the instructions causing the electronic device to perform the method according to any one of claims 1 to 9 when executed by the at least one processor.
12. A computer-readable storage medium having stored thereon computer-executable instructions that can be executed by a processor to implement the method according to any one of claims 1 to 9.
13. A computer program product tangibly stored in a computer storage medium and comprising computer-executable instructions that, when executed by a device, cause the device to perform the method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Parallel front end application and workflow development
CN108292208A
Application construction method, device and equipment and computer readable storage medium
CN115016693A
Workflow configuration method and device, equipment and storage medium
CN116431123A
System and method for assisted modeling of manufacturing workflows
US20220334559A1