CN118484337A - Workflow recovery method and device - Google Patents
Workflow recovery method and device Download PDFInfo
- Publication number
- CN118484337A CN118484337A CN202410741119.8A CN202410741119A CN118484337A CN 118484337 A CN118484337 A CN 118484337A CN 202410741119 A CN202410741119 A CN 202410741119A CN 118484337 A CN118484337 A CN 118484337A
- Authority
- CN
- China
- Prior art keywords
- information
- workflow
- current round
- user
- new
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/0793—Remedial or corrective actions
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
- G06F40/186—Templates
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N20/00—Machine learning
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- General Health & Medical Sciences (AREA)
- Computational Linguistics (AREA)
- Health & Medical Sciences (AREA)
- Data Mining & Analysis (AREA)
- Evolutionary Computation (AREA)
- Medical Informatics (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- Human Computer Interaction (AREA)
- Quality & Reliability (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
本发明公开了一种工作流恢复的方法和装置,涉及计算机技术领域。工作流恢复的方法的一具体实施方式包括:响应于获取到工作流的中止信息,根据该中止信息,生成对应的提示词;将该提示词输入预先设置的大模型,使大模型根据该提示词,生成工作流的引导信息;将该引导信息展示至预先设置的前端页面,使处理工作流的用户根据该引导信息,返回工作流所包括的流程节点,继续处理工作流。该实施方式基于大模型对工作流的中止信息进行解析,得到对应的引导信息,使用户根据引导信息返回工作流的流程节点,继续处理工作流,能够提高工作流的处理效率,降低用户处理工作流的难度,提高用户体验。
The present invention discloses a method and device for workflow recovery, and relates to the field of computer technology. A specific implementation of the workflow recovery method includes: in response to obtaining the termination information of the workflow, generating a corresponding prompt word according to the termination information; inputting the prompt word into a pre-set large model, so that the large model generates guidance information for the workflow according to the prompt word; displaying the guidance information to a pre-set front-end page, so that the user who processes the workflow can return to the process node included in the workflow according to the guidance information and continue to process the workflow. This implementation parses the termination information of the workflow based on the large model, obtains the corresponding guidance information, and enables the user to return to the process node of the workflow according to the guidance information and continue to process the workflow, which can improve the processing efficiency of the workflow, reduce the difficulty of users processing the workflow, and improve the user experience.
Description
技术领域Technical Field
本发明涉及计算机技术领域,尤其涉及一种工作流恢复的方法和装置。The present invention relates to the field of computer technology, and in particular to a method and device for recovering a workflow.
背景技术Background Art
在业务系统中,工作流业务场景十分常见,用户经常需要处理工作流。例如,在购买保险服务之前,用户需要处理的工作流包括:录入基础信息、咨询相关问题、申请保险公司报价与核保。工作流通常由多个页面组成,用户需要根据页面提示,在页面上提交信息、完成必要的交互操作,例如,点击、拖拽、勾选等等,逐步处理每一页对应的工作流,直至完成整个工作流。在处理工作流的过程中,如果用户存在疑问或者出现页面异常,可以通过页面提示进行自我诊断,或者咨询传统机器人客服,获得处理建议。In business systems, workflow business scenarios are very common, and users often need to process workflows. For example, before purchasing insurance services, users need to process workflows including: entering basic information, asking relevant questions, and applying for quotes and underwriting from insurance companies. Workflows usually consist of multiple pages, and users need to submit information and complete necessary interactive operations on the page according to the page prompts, such as clicking, dragging, checking, etc., and gradually process the workflow corresponding to each page until the entire workflow is completed. In the process of processing the workflow, if the user has questions or a page anomaly occurs, they can self-diagnose through the page prompts, or consult traditional robot customer service for processing suggestions.
在实现本发明的过程中,发明人发现现有技术至少存在如下问题:In the process of implementing the present invention, the inventors found that the prior art has at least the following problems:
页面提示和传统机器人客服的用语往往比较专业,具有一定的使用门槛,在用户存在疑问或者出现页面异常时,不能给予用户准确的帮助,导致工作流处理效率较低。The page prompts and the terms used in traditional robot customer service are often more professional and have a certain usage threshold. When users have questions or page anomalies occur, they cannot provide users with accurate help, resulting in low workflow processing efficiency.
发明内容Summary of the invention
有鉴于此,本发明实施例提供一种工作流恢复的方法和装置,能够提高工作流的处理效率,降低用户处理工作流的难度,提高用户体验。In view of this, an embodiment of the present invention provides a method and apparatus for recovering a workflow, which can improve the processing efficiency of the workflow, reduce the difficulty of users processing the workflow, and improve the user experience.
为实现上述目的,根据本发明实施例的第一方面,提供一种工作流恢复的方法,包括:响应于获取到工作流的中止信息,根据该中止信息,生成对应的提示词;将该提示词输入预先设置的大模型,使大模型根据该提示词,生成工作流的引导信息;将该引导信息展示至预先设置的前端页面,使处理工作流的用户根据该引导信息,返回工作流所包括的流程节点,继续处理工作流。To achieve the above-mentioned purpose, according to the first aspect of an embodiment of the present invention, a method for workflow recovery is provided, comprising: in response to obtaining termination information of the workflow, generating a corresponding prompt word according to the termination information; inputting the prompt word into a pre-set large model, so that the large model generates guidance information of the workflow according to the prompt word; displaying the guidance information on a pre-set front-end page, so that the user processing the workflow can return to the process node included in the workflow according to the guidance information and continue processing the workflow.
可选地,根据该中止信息,生成对应的提示词,包括:根据该中止信息,确定工作流的中止场景;根据预先设置的业务编排信息,确定中止场景对应的引导场景;根据该中止信息,更新引导场景对应的提示词模板,将更新后的提示词模板作为该提示词。Optionally, a corresponding prompt word is generated based on the termination information, including: determining the termination scenario of the workflow based on the termination information; determining the guide scenario corresponding to the termination scenario based on pre-set business orchestration information; updating the prompt word template corresponding to the guide scenario based on the termination information, and using the updated prompt word template as the prompt word.
可选地,根据预先设置的业务编排信息,确定中止场景对应的引导场景,包括:根据业务编排信息,确定中止场景对应的业务逻辑;执行业务逻辑,获取业务逻辑的执行结果;根据该执行结果,确定中止场景对应的引导场景。Optionally, determining a guiding scenario corresponding to the termination scenario according to pre-set business orchestration information includes: determining a business logic corresponding to the termination scenario according to the business orchestration information; executing the business logic to obtain an execution result of the business logic; and determining a guiding scenario corresponding to the termination scenario according to the execution result.
可选地,在将该引导信息展示至预先设置的前端页面之前,确定与该引导信息关联的意图信息,并判定该意图信息不符合预先设置的引导条件;在该意图信息符合预先设置的引导条件的情况下,循环执行如下步骤,以确定作为展示至前端页面的引导信息:Optionally, before displaying the guidance information on a preset front-end page, the intention information associated with the guidance information is determined, and it is determined that the intention information does not meet the preset guidance conditions; if the intention information meets the preset guidance conditions, the following steps are executed in a loop to determine the guidance information to be displayed on the front-end page:
以该意图信息作为第一轮次的意图信息,确定当前轮次的意图信息对应的用户目的信息,根据用户目的信息生成当前轮次的新提示词;根据大模型确定当前轮次的大模型,将当前轮次的新提示词输入当前轮次的大模型,获取当前轮次的大模型输出的新意图信息和新引导信息;在当前轮次的新意图信息不符合引导条件的情况下,循环终止,以当前轮次的新引导信息作为展示至前端页面的引导信息;在当前轮次的新意图信息符合引导条件的情况下,以当前轮次的新意图信息作为下一轮次的意图信息。Use the intent information as the intent information of the first round, determine the user purpose information corresponding to the intent information of the current round, and generate new prompt words for the current round according to the user purpose information; determine the big model of the current round according to the big model, input the new prompt words of the current round into the big model of the current round, and obtain the new intent information and new guidance information output by the big model of the current round; when the new intent information of the current round does not meet the guidance conditions, the loop is terminated, and the new guidance information of the current round is used as the guidance information displayed on the front-end page; when the new intent information of the current round meets the guidance conditions, the new intent information of the current round is used as the intent information for the next round.
可选地,根据大模型确定当前轮次的大模型,包括:响应于判定当前轮次的新提示词与大模型匹配,将该大模型作为当前轮次的大模型;响应于判定新提示词与大模型不匹配,从预先设置的多个大模型中,筛选出与当前轮次的新提示词匹配的目标大模型;以目标大模型作为当前轮次的大模型。Optionally, determining the big model of the current round based on the big model includes: in response to determining that the new prompt word of the current round matches the big model, using the big model as the big model of the current round; in response to determining that the new prompt word does not match the big model, screening out a target big model that matches the new prompt word of the current round from a plurality of pre-set big models; and using the target big model as the big model of the current round.
可选地,在获取当前轮次的大模型输出的新引导信息和新意图信息之前,获取与用户关联的历史引导信息;将历史引导信息输入当前轮次的大模型,使当前轮次的大模型根据当前轮次的新提示词和历史引导信息,输出当前轮次的新引导信息和新意图信息。Optionally, before obtaining the new guidance information and new intent information output by the big model of the current round, historical guidance information associated with the user is obtained; the historical guidance information is input into the big model of the current round, so that the big model of the current round outputs the new guidance information and new intent information of the current round according to the new prompt words of the current round and the historical guidance information.
可选地,获取到工作流的中止信息,包括:响应于接收到对话请求,根据对话请求,确定用户的对话信息,将对话信息作为工作流的中止信息;或者,响应于检测到目标事件发生,判断目标事件是否属于预先设置的中止事件集,在目标事件属于中止事件集的情况下,确定目标事件的事件信息,将该事件信息作为工作流的中止信息。Optionally, obtaining the termination information of the workflow includes: in response to receiving a dialogue request, determining the user's dialogue information based on the dialogue request, and using the dialogue information as the termination information of the workflow; or, in response to detecting the occurrence of a target event, determining whether the target event belongs to a pre-set termination event set, and if the target event belongs to the termination event set, determining event information of the target event, and using the event information as the termination information of the workflow.
根据本发明实施例的第二方面,提供一种工作流恢复的装置,包括:According to a second aspect of an embodiment of the present invention, there is provided a device for workflow recovery, comprising:
第一生成模块,用于响应于获取到工作流的中止信息,根据该中止信息,生成对应的提示词;A first generating module, configured to generate corresponding prompt words according to the obtained workflow termination information;
第二生成模块,用于将该提示词输入预先设置的大模型,使大模型根据该提示词,生成工作流的引导信息;The second generation module is used to input the prompt word into a preset large model, so that the large model generates workflow guidance information according to the prompt word;
引导模块,用于将该引导信息展示至预先设置的前端页面,使处理工作流的用户根据该引导信息,返回工作流所包括的流程节点,继续处理工作流。The guidance module is used to display the guidance information on a preset front-end page, so that the user processing the workflow can return to the process node included in the workflow according to the guidance information and continue processing the workflow.
可选地,根据该中止信息,生成对应的提示词,包括:根据该中止信息,确定工作流的中止场景;根据预先设置的业务编排信息,确定中止场景对应的引导场景;根据该中止信息,更新引导场景对应的提示词模板,将更新后的提示词模板作为该提示词。Optionally, a corresponding prompt word is generated based on the termination information, including: determining the termination scenario of the workflow based on the termination information; determining the guide scenario corresponding to the termination scenario based on pre-set business orchestration information; updating the prompt word template corresponding to the guide scenario based on the termination information, and using the updated prompt word template as the prompt word.
可选地,根据预先设置的业务编排信息,确定中止场景对应的引导场景,包括:根据业务编排信息,确定中止场景对应的业务逻辑;执行业务逻辑,获取业务逻辑的执行结果;根据该执行结果,确定中止场景对应的引导场景。Optionally, determining a guiding scenario corresponding to the termination scenario according to pre-set business orchestration information includes: determining a business logic corresponding to the termination scenario according to the business orchestration information; executing the business logic to obtain an execution result of the business logic; and determining a guiding scenario corresponding to the termination scenario according to the execution result.
可选地,引导模块还用于:在将该引导信息展示至预先设置的前端页面之前,确定与该引导信息关联的意图信息,并判定该意图信息不符合预先设置的引导条件;Optionally, the guidance module is further used to: before displaying the guidance information on a preset front-end page, determine the intention information associated with the guidance information, and determine that the intention information does not meet the preset guidance conditions;
在该意图信息符合预先设置的引导条件的情况下,循环执行如下步骤,以确定作为展示至前端页面的引导信息:When the intention information meets the preset guidance conditions, the following steps are executed in a loop to determine the guidance information to be displayed on the front-end page:
以该意图信息作为第一轮次的意图信息,确定当前轮次的意图信息对应的用户目的信息,根据用户目的信息生成当前轮次的新提示词;根据大模型确定当前轮次的大模型,将当前轮次的新提示词输入当前轮次的大模型,获取当前轮次的大模型输出的新意图信息和新引导信息;在当前轮次的新意图信息不符合引导条件的情况下,循环终止,以当前轮次的新引导信息作为展示至前端页面的引导信息;在当前轮次的新意图信息符合引导条件的情况下,以当前轮次的新意图信息作为下一轮次的意图信息。Use the intent information as the intent information of the first round, determine the user purpose information corresponding to the intent information of the current round, and generate new prompt words for the current round according to the user purpose information; determine the big model of the current round according to the big model, input the new prompt words of the current round into the big model of the current round, and obtain the new intent information and new guidance information output by the big model of the current round; when the new intent information of the current round does not meet the guidance conditions, the loop is terminated, and the new guidance information of the current round is used as the guidance information displayed on the front-end page; when the new intent information of the current round meets the guidance conditions, the new intent information of the current round is used as the intent information for the next round.
可选地,引导模块还用于:响应于判定当前轮次的新提示词与大模型匹配,将该大模型作为当前轮次的大模型;响应于判定新提示词与大模型不匹配,从预先设置的多个大模型中,筛选出与当前轮次的新提示词匹配的目标大模型;以目标大模型作为当前轮次的大模型。Optionally, the guidance module is also used to: in response to determining that the new prompt word of the current round matches the big model, use the big model as the big model of the current round; in response to determining that the new prompt word does not match the big model, screen out a target big model that matches the new prompt word of the current round from a plurality of pre-set big models; and use the target big model as the big model of the current round.
可选地,引导模块还用于:获取与用户关联的历史引导信息;将历史引导信息输入当前轮次的大模型,使当前轮次的大模型根据当前轮次的新提示词和历史引导信息,输出当前轮次的新引导信息和新意图信息。Optionally, the guidance module is also used to: obtain historical guidance information associated with the user; input the historical guidance information into the big model of the current round, so that the big model of the current round outputs new guidance information and new intention information of the current round according to the new prompt words of the current round and the historical guidance information.
可选地,获取到工作流的中止信息,包括:响应于接收到对话请求,根据对话请求,确定用户的对话信息,将对话信息作为工作流的中止信息;或者,响应于检测到目标事件发生,判断目标事件是否属于预先设置的中止事件集,在目标事件属于中止事件集的情况下,确定目标事件的事件信息,将该事件信息作为工作流的中止信息。Optionally, obtaining the termination information of the workflow includes: in response to receiving a dialogue request, determining the user's dialogue information based on the dialogue request, and using the dialogue information as the termination information of the workflow; or, in response to detecting the occurrence of a target event, determining whether the target event belongs to a pre-set termination event set, and if the target event belongs to the termination event set, determining event information of the target event, and using the event information as the termination information of the workflow.
根据本发明实施例的第三方面,提供一种电子设备,包括:According to a third aspect of an embodiment of the present invention, there is provided an electronic device, including:
一个或多个处理器;one or more processors;
存储装置,用于存储一个或多个程序,a storage device for storing one or more programs,
当该一个或多个程序被该一个或多个处理器执行时,该一个或多个处理器实现上述任一实施例的方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the method of any one of the above embodiments.
根据本发明实施例的第四方面,提供一种计算机可读介质,其上存储有计算机程序,该程序被处理器执行时实现上述任一实施例的方法。According to a fourth aspect of an embodiment of the present invention, there is provided a computer-readable medium on which a computer program is stored, and when the program is executed by a processor, the method of any of the above embodiments is implemented.
根据本发明实施例的第五方面,提供一种计算机程序产品,包括计算机程序,该计算机程序在被处理器执行时实现上述任一实施例的方法。According to a fifth aspect of an embodiment of the present invention, there is provided a computer program product, comprising a computer program, which implements the method of any of the above embodiments when executed by a processor.
上述发明中的一个实施例具有如下优点或有益效果:基于大模型对工作流的中止信息进行解析,得到对应的引导信息,使用户根据引导信息返回工作流的流程节点,继续处理工作流,能够提高工作流的处理效率,降低用户处理工作流的难度,提高用户体验;根据业务编排信息,确定中止场景对应的引导场景,根据引导场景生成提示词,能够灵活、准确地生成提示词;执行中止场景对应的业务逻辑,根据业务逻辑的执行结果,确定引导场景,能够灵活、高效地确定引导场景;根据引导信息关联的意图信息,判断是否需要再次生成新的引导信息和意图信息,经过多次大模型输出,得到最终返回给用户的引导信息,能够准确确定用户的意图和目的,便于为用户提出准确的引导信息,帮助用户快速返回工作流的流程节点;在提示词与大模型不匹配的情况下,从多个大模型中筛选出目标大模型,能够提高大模型输出的灵活性,满足不同的大模型分析需求;基于之前输出给用户的历史引导信息,生成新的引导信息,能够进一步提高引导信息的准确性,提高工作流处理效率;方法的触发时机包括:用户向本发明实施例的执行主体提问或者请求对话,以及检测到因用户的某些操作使工作流异常退出或者异常中断,能够降低用户的使用难度,提高用户处理工作流的效率。One embodiment of the above invention has the following advantages or beneficial effects: based on the big model, the termination information of the workflow is parsed to obtain the corresponding guidance information, so that the user can return to the process node of the workflow according to the guidance information and continue to process the workflow, which can improve the processing efficiency of the workflow, reduce the difficulty of users processing the workflow, and improve the user experience; according to the business arrangement information, the guidance scenario corresponding to the termination scenario is determined, and prompt words are generated according to the guidance scenario, and prompt words can be generated flexibly and accurately; the business logic corresponding to the termination scenario is executed, and the guidance scenario is determined according to the execution result of the business logic, and the guidance scenario can be determined flexibly and efficiently; according to the intention information associated with the guidance information, it is judged whether it is necessary to generate new guidance information and intention information again, and after multiple big model outputs, the guidance scenario can be obtained. The guidance information finally returned to the user can accurately determine the user's intention and purpose, facilitate the provision of accurate guidance information to the user, and help the user quickly return to the process node of the workflow; when the prompt word does not match the large model, the target large model is screened out from multiple large models, which can improve the flexibility of the large model output and meet different large model analysis needs; based on the historical guidance information previously output to the user, new guidance information is generated, which can further improve the accuracy of the guidance information and improve the workflow processing efficiency; the triggering timing of the method includes: the user asks a question to the execution subject of the embodiment of the present invention or requests a dialogue, and detects that the workflow is abnormally exited or abnormally interrupted due to certain operations of the user, which can reduce the user's usage difficulty and improve the user's efficiency in processing the workflow.
上述的非惯用的可选方式所具有的进一步效果将在下文中结合具体实施方式加以说明。The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with the specific implementation manner.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
附图用于更好地理解本发明,不构成对本发明的不当限定。其中:The accompanying drawings are used to better understand the present invention and do not constitute an improper limitation of the present invention.
图1是根据本发明实施例的工作流恢复的方法的主要流程的示意图;FIG1 is a schematic diagram of the main process of a method for workflow recovery according to an embodiment of the present invention;
图2是根据本发明一个可参考实施例的工作流恢复的应用场景的示意图;FIG2 is a schematic diagram of an application scenario of workflow recovery according to a reference embodiment of the present invention;
图3是根据本发明一个可参考实施例的大模型对话链的示意图;FIG3 is a schematic diagram of a large model dialogue chain according to a reference embodiment of the present invention;
图4是根据本发明一个可参考实施例的工作流恢复的技术架构的示意图;FIG4 is a schematic diagram of a technical architecture of workflow recovery according to a reference embodiment of the present invention;
图5是根据本发明一个可参考实施例的在多模块协作的工作流恢复的主要流程的示意图;FIG5 is a schematic diagram of the main process of workflow recovery in multi-module collaboration according to a reference embodiment of the present invention;
图6是根据本发明一个可参考实施例的工作流恢复的方法的主要流程的示意图;FIG6 is a schematic diagram of the main process of a method for workflow recovery according to a reference embodiment of the present invention;
图7是根据本发明实施例的工作流恢复的装置的主要模块的示意图;7 is a schematic diagram of main modules of a device for workflow recovery according to an embodiment of the present invention;
图8是本发明实施例可以应用于其中的示例性系统架构图;FIG8 is a diagram of an exemplary system architecture in which an embodiment of the present invention may be applied;
图9是适于用来实现本发明实施例的终端设备或服务器的计算机系统的结构示意图。FIG. 9 is a schematic diagram of the structure of a computer system of a terminal device or a server suitable for implementing an embodiment of the present invention.
具体实施方式DETAILED DESCRIPTION
以下结合附图对本发明的示范性实施例做出说明,其中包括本发明实施例的各种细节以助于理解,应当将它们认为仅仅是示范性的。因此,本领域普通技术人员应当认识到,可以对这里描述的实施例做出各种改变和修改,而不会背离本发明的范围和精神。同样,为了清楚和简明,以下的描述中省略了对公知功能和结构的描述。The following is a description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, including various details of the embodiments of the present invention to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for clarity and conciseness, the description of well-known functions and structures is omitted in the following description.
需要说明的是,本发明的技术方案中,所涉及的用户个人信息的收集、使用、保存、共享和转移等处理,均符合相关法律法规的规定,且需要告知用户并获得用户的同意或授权,当适用时,对用户个人信息进行了去标识化和/或匿名化和/或加密的技术处理。It should be noted that in the technical solution of the present invention, the collection, use, storage, sharing and transfer of user personal information involved are in compliance with the provisions of relevant laws and regulations, and it is necessary to inform the user and obtain the user's consent or authorization. When applicable, the user's personal information is de-identified and/or anonymized and/or encrypted.
在业务系统中,工作流业务场景十分常见,用户经常需要处理工作流。例如,在购买保险服务之前,用户需要处理的工作流包括:录入基础信息、咨询相关问题、申请保险公司报价与核保。工作流通常由多个页面组成,用户需要根据页面提示,在页面上提交信息、完成必要的交互操作,例如,点击、拖拽、勾选等等,逐步处理每一页对应的工作流,直至完成整个工作流。在处理工作流的过程中,如果用户存在疑问或者出现页面异常,可以通过页面提示进行自我诊断,或者咨询传统机器人客服,获得处理建议。In business systems, workflow business scenarios are very common, and users often need to process workflows. For example, before purchasing insurance services, users need to process workflows including: entering basic information, asking relevant questions, and applying for quotes and underwriting from insurance companies. Workflows usually consist of multiple pages, and users need to submit information and complete necessary interactive operations on the page according to the page prompts, such as clicking, dragging, checking, etc., and gradually process the workflow corresponding to each page until the entire workflow is completed. In the process of processing the workflow, if the user has questions or a page anomaly occurs, they can self-diagnose through the page prompts, or consult traditional robot customer service for processing suggestions.
页面提示和传统机器人客服的用语往往比较专业,具有一定的使用门槛,在用户存在疑问或者出现页面异常时,不能给予用户准确的帮助,导致工作流处理效率较低,用户体验较差。The page prompts and the terms used in traditional robot customer service are often more professional and have a certain usage threshold. When users have questions or page anomalies occur, they cannot provide users with accurate help, resulting in low workflow processing efficiency and poor user experience.
有鉴于此,根据本发明实施例的第一方面,提供一种工作流恢复的方法。In view of this, according to a first aspect of an embodiment of the present invention, a method for recovering a workflow is provided.
图1是根据本发明实施例的工作流恢复的方法的主要流程的示意图。如图1所示,根据本发明实施例的工作流恢复的方法主要包括如下的步骤S101至步骤S103。Fig. 1 is a schematic diagram of the main process of the method for workflow recovery according to an embodiment of the present invention. As shown in Fig. 1, the method for workflow recovery according to an embodiment of the present invention mainly includes the following steps S101 to S103.
步骤S101,响应于获取到工作流的中止信息,根据该中止信息,生成对应的提示词。Step S101, in response to obtaining the termination information of the workflow, generating a corresponding prompt word according to the termination information.
本发明实施例的执行主体对用户处理工作流的过程进行监测,获取用户在处理工作流的过程中生成的用户行为数据、表单收集数据、页面处理结果等与工作流相关的信息,从上述信息中提取出中止信息。The execution subject of the embodiment of the present invention monitors the process of users processing workflows, obtains user behavior data, form collection data, page processing results and other workflow-related information generated by users in the process of processing workflows, and extracts termination information from the above information.
示例性地,用户所处理的工作流包括多个页面,本发明实施例的执行主体获取每个页面的页面处理结果,页面处理结果包括:是否处理成功、用户在页面表单上输入的信息、页面展示的基础信息等等。在页面处理结果为“成功”的情况下,向用户展示下一页面的工作流,在页面处理结果为“未成功”的情况下,判定用户的工作流处理流程中止,获取用户在页面上输入的文本和上传的文件、用户点击按钮的次数、用户刷新页面的次数等用户行为数据,以及页面展示的基础信息,将上述获取到的信息作为中止信息。Exemplarily, the workflow processed by the user includes multiple pages. The execution subject of the embodiment of the present invention obtains the page processing result of each page, and the page processing result includes: whether the processing is successful, the information entered by the user on the page form, the basic information displayed on the page, etc. If the page processing result is "successful", the workflow of the next page is displayed to the user. If the page processing result is "unsuccessful", the user's workflow processing flow is determined to be terminated, and the user behavior data such as the text entered by the user on the page and the uploaded file, the number of times the user clicks the button, the number of times the user refreshes the page, and the basic information displayed on the page are obtained, and the above-mentioned information is used as the termination information.
在获取到中止信息之后,将中止信息填入预先设置的提示词模板,将填入中止信息之后的提示词模板作为提示词。示例性地,预先设置的提示词模板为“你是一个客服人员,用户在处理工作流时出现问题,导致工作流中止,相关信息包括:用户在页面上输入的文本:[A1],用户的行为数据:[A2],页面展示的基础信息:[A3],工作流处理结果:[A4],请你为根据上述信息,为用户提供解决方法,引导用户完成工作流的处理”,将相应的中止信息替换上述提示词模板中的A1、A2、A3和A4,替换之后的提示词模板变为“你是一个客服人员,用户在处理工作流时出现问题,导致工作流中止,相关信息包括:用户在页面上输入的文本:user,20,...,用户的行为数据:联系点击“确认”按钮5次,页面展示的基础信息:姓名,年龄,...,工作流处理结果:未成功,部分信息处理异常,请你为根据上述信息,为用户提供解决方法,引导用户完成工作流的处理”。After the suspension information is acquired, the suspension information is filled into a preset prompt word template, and the prompt word template after the suspension information is filled in is used as the prompt word. Exemplarily, the preset prompt word template is "You are a customer service staff. A problem occurred when the user was processing the workflow, resulting in the workflow being terminated. The relevant information includes: the text entered by the user on the page: [A1], the user's behavior data: [A2], the basic information displayed on the page: [A3], the workflow processing result: [A4], please provide a solution for the user based on the above information and guide the user to complete the workflow processing", and the corresponding termination information replaces A1, A2, A3 and A4 in the above prompt word template. The prompt word template after replacement becomes "You are a customer service staff. A problem occurred when the user was processing the workflow, resulting in the workflow being terminated. The relevant information includes: the text entered by the user on the page: user, 20,..., the user's behavior data: contact clicked the "Confirm" button 5 times, the basic information displayed on the page: name, age,..., the workflow processing result: unsuccessful, some information processing was abnormal, please provide a solution for the user based on the above information and guide the user to complete the workflow processing".
需要说明的是,提示词模板是可配置的,本发明实施例的执行主体根据接收到的提示词更新请求,添加新的提示词模板、修改或者删除已有的提示词模板。It should be noted that the prompt word template is configurable, and the execution subject of the embodiment of the present invention adds a new prompt word template, or modifies or deletes an existing prompt word template according to a received prompt word update request.
对工作流的处理过程进行监测,能够及时获取工作流中止信息,根据提示词模板,将中止信息转换为提示词,能够为大模型提供数据基础,便于提高工作流处理效率,使用户及时返回工作流处理过程中。By monitoring the workflow processing process, the workflow termination information can be obtained in time. According to the prompt word template, the termination information can be converted into prompt words, which can provide a data basis for the large model, improve the workflow processing efficiency, and enable users to return to the workflow processing process in time.
步骤S102,将该提示词输入预先设置的大模型,使大模型根据该提示词,生成工作流的引导信息。Step S102: input the prompt word into a preset macro model, so that the macro model generates workflow guidance information according to the prompt word.
在生成提示词之后,将提示词输入预先设置的大模型,大模型是生成式大模型,具有工作流所属业务领域的业务知识。具体地,在使用大模型输出引导信息之前,使用业务知识对大模型进行预训练,使大模型熟悉业务领域中的各种流程,具备业务领域中的现有业务知识。然后再将提示词输入至预训练之后的大模型。After the prompt words are generated, the prompt words are input into the pre-set big model, which is a generative big model with business knowledge of the business field to which the workflow belongs. Specifically, before using the big model to output guidance information, the big model is pre-trained using business knowledge so that the big model is familiar with various processes in the business field and has existing business knowledge in the business field. Then the prompt words are input into the pre-trained big model.
大模型根据接收到的提示词,输出对应的引导信息。引导信息用于帮助用户继续处理之前中止的工作流,引导信息包括:对当前工作流处理情况的说明、导致工作流中止的原因、用户可以执行的操作(即返回之前中止的工作流流程节点的方法)。The large model outputs corresponding guidance information based on the received prompt words. The guidance information is used to help users continue to process the previously terminated workflow. The guidance information includes: a description of the current workflow processing status, the reason for the workflow termination, and the operations that the user can perform (i.e., the method of returning to the previously terminated workflow process node).
示例性地,大模型输出的引导信息为:刚才发生工作流中止的流程节点是节点B1,该流程节点的含义是数据B2,需要您提供的信息是信息B3,如果您没有其他疑问的话,可以点击页面链接B4,继续刚才中止的流程节点。需要说明的是,在不同的引导信息中,节点B1、数据B2、信息B3和页面链接B4的取值不同,是根据接收到的中止信息生成的。For example, the guidance information output by the large model is: the process node where the workflow was just terminated is node B1, the meaning of the process node is data B2, the information you need to provide is information B3, if you have no other questions, you can click page link B4 to continue the process node that was just terminated. It should be noted that in different guidance information, the values of node B1, data B2, information B3 and page link B4 are different, and are generated according to the received termination information.
该引导信息能够解答用户在处理工作流过程中产生的疑问,使用户更清楚地了解工作流的处理过程,并通过页面链接使用户及时返回之前中止的工作流,有助于用户提高工作流的处理效率和准确性,提高用户体验。This guidance information can answer questions that users have when processing workflows, allowing users to more clearly understand the workflow processing process, and enable users to return to previously terminated workflows in a timely manner through page links, helping users improve workflow processing efficiency and accuracy and enhance user experience.
步骤S103,将该引导信息展示至预先设置的前端页面,使处理工作流的用户根据该引导信息,返回工作流所包括的流程节点,继续处理工作流。Step S103, displaying the guidance information on a preset front-end page, so that the user processing the workflow can return to the process node included in the workflow according to the guidance information and continue processing the workflow.
在生成引导信息之后,将引导信息展示至前端页面。具体地,前端页面是预先设置的对话框,本发明实施例的执行主体以页面智能机器人的身份与用户进行对话,对话内容为之前生成的引导信息。After the guidance information is generated, the guidance information is displayed on the front page. Specifically, the front page is a pre-set dialog box, and the execution subject of the embodiment of the present invention communicates with the user as a page intelligent robot, and the dialogue content is the previously generated guidance information.
用户根据引导信息,理解工作流的含义,知晓需要填写的信息和需要执行的操作,然后点击引导信息中的链接,向本发明实施例的执行主体发送流程节点访问请求,本发明实施例的执行主体对接收到的流程节点访问请求进行解析,确定用户所要访问的目标流程节点,将目标流程节点对应的页面展示给用户,相当于用户重新返回之前中止的工作流中,用户在目标流程节点对应的页面中继续处理之前未完成的工作流。Based on the guidance information, the user understands the meaning of the workflow, knows the information that needs to be filled in and the operations that need to be performed, and then clicks the link in the guidance information to send a process node access request to the execution subject of the embodiment of the present invention. The execution subject of the embodiment of the present invention parses the received process node access request, determines the target process node that the user wants to access, and displays the page corresponding to the target process node to the user, which is equivalent to the user returning to the previously terminated workflow, and the user continues to process the previously unfinished workflow in the page corresponding to the target process node.
需要说明的是,在接收到引导信息之后,用户可以在对话框内继续与页面智能机器人(即本发明实施例的执行主体)对话,例如,在对话框内输入文本、图像或者视频等等信息,本发明实施例的执行主体将根据用户的对话内容,生成新的引导信息,并展示在对话框内,具体地,将用户的对话内容转换为新的提示词并输入大模型,得到新的引导信息。即上述步骤S101至步骤S103是以页面智能机器人和用户之间对话的形式不断重复的,用户向页面智能机器人发送对话内容,页面智能机器人将用户的对话内容作为中止信息,基于大模型生成对应的引导信息,并将引导信息作为回复内容展示在对话框内,重复上述步骤直至用户根据引导信息中的链接返回之前中止的工作流。It should be noted that after receiving the guidance information, the user can continue to communicate with the page intelligent robot (i.e., the execution subject of the embodiment of the present invention) in the dialog box, for example, input text, images, or videos and other information in the dialog box, and the execution subject of the embodiment of the present invention will generate new guidance information based on the user's dialogue content and display it in the dialog box. Specifically, the user's dialogue content is converted into a new prompt word and input into the large model to obtain new guidance information. That is, the above steps S101 to S103 are repeated in the form of a dialogue between the page intelligent robot and the user. The user sends the dialogue content to the page intelligent robot, and the page intelligent robot uses the user's dialogue content as the termination information, generates corresponding guidance information based on the large model, and displays the guidance information as the reply content in the dialog box, and repeats the above steps until the user returns to the previously terminated workflow according to the link in the guidance information.
图2是根据本发明一个可参考实施例的工作流恢复的应用场景的示意图。示例性地,如图2所示,在对话页面201中展示了用户(即user)与本发明实施例的执行主体(即AI)的对话内容,本发明实施例的执行主体在检测到用户所处理的工作流中止的情况下,收集中止信息,确定工作流在“产品使用描述环节”中止,基于大模型生成第一条引导信息(即AI发送的第一句话),并将引导信息展示在对话页面201内,与用户进行对话;用户基于第一条引导信息,说明了自己的疑问(即用户发送的第一句话),本发明实施例的执行主体根据用户发送的疑问,再次基于大模型,生成第二条引导信息(即AI发送的第二句话),第二条引导信息包括一个页面链接,可以帮助用户返回之前中止的工作流,如果用户想继续沟通,可以在对话页面201最下面的对话框内输入内容,发送给本发明实施例的执行主体,本发明实施例的执行主体将根据用户发送的内容,继续输出引导信息,帮助用户答疑解惑。FIG2 is a schematic diagram of an application scenario of workflow recovery according to a reference embodiment of the present invention. Exemplarily, as shown in FIG2, the conversation content between the user (i.e., user) and the execution subject (i.e., AI) of the embodiment of the present invention is displayed in the conversation page 201. When the execution subject of the embodiment of the present invention detects that the workflow processed by the user is suspended, it collects suspension information, determines that the workflow is suspended in the "product usage description link", generates the first guidance information (i.e., the first sentence sent by AI) based on the big model, and displays the guidance information in the conversation page 201 to have a conversation with the user; the user explains his doubts (i.e., the first sentence sent by the user) based on the first guidance information, and the execution subject of the embodiment of the present invention generates the second guidance information (i.e., the second sentence sent by AI) based on the big model again according to the doubts sent by the user. The second guidance information includes a page link, which can help the user return to the previously suspended workflow. If the user wants to continue communicating, he can enter the content in the dialog box at the bottom of the conversation page 201 and send it to the execution subject of the embodiment of the present invention. The execution subject of the embodiment of the present invention will continue to output guidance information based on the content sent by the user to help the user answer questions and solve doubts.
基于大模型,解析工作流的中止信息,得到对应的引导信息,使用户根据引导信息返回工作流的流程节点,继续处理工作流,能够提高工作流的处理效率,降低用户处理工作流的难度,提高用户体验。Based on the big model, the workflow termination information is parsed to obtain the corresponding guidance information, so that the user can return to the process node of the workflow according to the guidance information and continue to process the workflow. This can improve the processing efficiency of the workflow, reduce the difficulty of users processing the workflow, and improve the user experience.
根据本发明一个可参考的实施例,在根据中止信息,生成对应的提示词时,先根据中止信息,确定工作流的中止场景。具体地,中止场景包括:被访问的页面、页面是否关闭、页面内是否存在用户输入、页面对应的工作流是否处理成功等等页面状态,中止场景是上述页面状态的集合,根据中止信息,确定上述页面状态,将页面状态组合为中止场景。例如,在中止信息包括:用户访问了页面C、页面C被关闭、页面C对应的工作流未处理成功,将上述中止信息转换为中止场景,得到“页面C被关闭并且没有用户输入”。According to a reference embodiment of the present invention, when generating corresponding prompt words according to the termination information, first determine the termination scenario of the workflow according to the termination information. Specifically, the termination scenario includes: the page being visited, whether the page is closed, whether there is user input in the page, whether the workflow corresponding to the page is processed successfully, and other page states. The termination scenario is a collection of the above page states. According to the termination information, the above page states are determined, and the page states are combined into a termination scenario. For example, when the termination information includes: the user visited page C, page C was closed, and the workflow corresponding to page C was not processed successfully, the above termination information is converted into a termination scenario, and "page C is closed and there is no user input" is obtained.
在确定中止场景之后,根据预先设置的业务编排信息,确定中止场景对应的引导场景。业务编排信息包括中止场景与引导场景之间的关联关系,每个中止场景对应一个引导场景,例如,在中止场景为“页面C1被关闭并且没有用户输入”的情况下,查询业务编排信息,确定对应的引导场景为“询问用户是否访问C2页面”。After determining the suspension scenario, determine the guidance scenario corresponding to the suspension scenario according to the preset business arrangement information. The business arrangement information includes the association between the suspension scenario and the guidance scenario. Each suspension scenario corresponds to a guidance scenario. For example, when the suspension scenario is "page C1 is closed and there is no user input", query the business arrangement information to determine that the corresponding guidance scenario is "asking the user whether to access page C2".
对于前端页面上出现的导致工作流中止的每个改变(例如,用户完成页面流程、用户提出问题、用户异常操作等等),均预先在业务编排信息中设置对应的中止场景,以及与中止场景对应的引导场景。需要说明的是,业务编排信息是可配置的,本发明实施例的执行主体根据接收到的更新请求,对业务编排信息进行更新,增加新的中止场景和/或引导场景,修改中止场景和引导场景之间的关联关系。For each change that occurs on the front-end page and causes the workflow to be terminated (for example, the user completes the page process, the user asks a question, the user performs an abnormal operation, etc.), a corresponding termination scenario and a guidance scenario corresponding to the termination scenario are pre-set in the business arrangement information. It should be noted that the business arrangement information is configurable, and the execution subject of the embodiment of the present invention updates the business arrangement information according to the received update request, adds a new termination scenario and/or guidance scenario, and modifies the association relationship between the termination scenario and the guidance scenario.
每个引导场景对应一个提示词模板,提示词模板是一个不完整的提示词。在确定引导场景之后,根据中止信息,更新引导场景对应的提示词模板,具体地,将中止信息填入提示词模板,填入中止信息后(即更新后)的提示词模板是一个完整的提示词,将更新后的提示词模板作为提示词,输入预先设置的大模型,得到对应的引导信息。Each guidance scene corresponds to a prompt word template, and the prompt word template is an incomplete prompt word. After the guidance scene is determined, the prompt word template corresponding to the guidance scene is updated according to the suspension information. Specifically, the suspension information is filled into the prompt word template. The prompt word template after the suspension information is filled (i.e., updated) is a complete prompt word. The updated prompt word template is used as the prompt word and input into the pre-set large model to obtain the corresponding guidance information.
根据中止信息确定中止场景,根据业务编排信息确定与中止场景关联的引导场景,再根据引导场景确定提示词模板,能够更灵活、更准确地确定提示词模板,便于生成准确地引导信息。业务编排信息可配置,能够更灵活地将中止场景与引导场景关联在一起,满足不同的业务处理需求,高效、准确地使用户返回工作流。Determine the abort scenario based on the abort information, determine the guidance scenario associated with the abort scenario based on the business arrangement information, and then determine the prompt word template based on the guidance scenario, so that the prompt word template can be determined more flexibly and accurately, and it is convenient to generate accurate guidance information. The business arrangement information is configurable, and the abort scenario can be more flexibly associated with the guidance scenario to meet different business processing requirements and efficiently and accurately return the user to the workflow.
根据本发明另一个可参考的实施例,在根据预先设置的业务编排信息,确定中止场景对应的引导场景时,先根据业务编排信息,确定中止场景对应的业务逻辑。具体地,业务编排信息用于管理不同中止场景下的业务逻辑,业务编排信息包括每个中止场景对应的业务逻辑,该业务逻辑引导用户返回工作流并继续处理工作流。According to another reference embodiment of the present invention, when determining the guidance scenario corresponding to the suspension scenario according to the preset business arrangement information, the business logic corresponding to the suspension scenario is first determined according to the business arrangement information. Specifically, the business arrangement information is used to manage the business logic under different suspension scenarios, and the business arrangement information includes the business logic corresponding to each suspension scenario, and the business logic guides the user to return to the workflow and continue to process the workflow.
执行中止场景对应的业务逻辑,获取业务逻辑的执行结果。执行结果的数据类型可以是字符串,例如,“是”、“否”、“成功”、“未成功”,也可以是数值型,例如,“10”、“20”,还可以是布尔类型,例如,“true”、“false”。在得到执行结果之后,根据执行结果,确定中止场景对应的引导场景。例如,在执行结果的数据类型为数值型的情况下,将执行结果与预先设置的多个数值范围进行比较,每个数值范围对应一个引导场景,将执行结果所属的数值范围作为目标数值范围,将目标数值范围对应的引导场景作为中止场景对应的引导场景。Execute the business logic corresponding to the abort scenario and obtain the execution result of the business logic. The data type of the execution result can be a string, such as "yes", "no", "success", "unsuccessful", or a numeric type, such as "10", "20", or a Boolean type, such as "true", "false". After obtaining the execution result, determine the guidance scenario corresponding to the abort scenario based on the execution result. For example, when the data type of the execution result is a numeric type, compare the execution result with multiple pre-set numerical ranges, each numerical range corresponds to a guidance scenario, and use the numerical range to which the execution result belongs as the target numerical range, and use the guidance scenario corresponding to the target numerical range as the guidance scenario corresponding to the abort scenario.
示例性地,中止场景为“页面D出现异常”,该中止场景对应的业务逻辑为方法“http://api/test”,调用上述业务逻辑,获取业务逻辑的执行结果,在执行结果为“是”的情况下,确定中止场景的引导场景为引导场景E1,在执行结果为“否”的情况下,确定中止场景的引导场景为引导场景E2。Exemplarily, the termination scenario is "an exception occurs on page D", and the business logic corresponding to the termination scenario is the method "http://api/test". The above business logic is called to obtain the execution result of the business logic. When the execution result is "yes", the guidance scenario of the termination scenario is determined to be the guidance scenario E1. When the execution result is "no", the guidance scenario of the termination scenario is determined to be the guidance scenario E2.
需要说明的是,中止场景对应的业务逻辑可以通过业务接口或自定义脚本的方式实现。中止场景对应的业务逻辑是可配置的,本发明实施例的执行主体根据接收到的更新请求,修改中止场景对应的业务接口或者自定义脚本,进而修改中止场景对应的业务逻辑。It should be noted that the business logic corresponding to the suspension scenario can be implemented by means of a business interface or a custom script. The business logic corresponding to the suspension scenario is configurable. The execution subject of the embodiment of the present invention modifies the business interface or custom script corresponding to the suspension scenario according to the received update request, and then modifies the business logic corresponding to the suspension scenario.
执行中止场景对应的业务逻辑,根据业务逻辑的执行结果,确定中止场景对应的引导场景,能够灵活、准确地确定引导场景,提高引导信息的准确性。The business logic corresponding to the suspension scenario is executed, and the guidance scenario corresponding to the suspension scenario is determined according to the execution result of the business logic. The guidance scenario can be determined flexibly and accurately, thereby improving the accuracy of the guidance information.
根据本发明又一个可参考的实施例,在将引导信息展示至预先设置的前端页面之前,确定与该引导信息关联的意图信息,并判定该意图信息不符合预先设置的引导条件。大模型根据提示词生成引导信息的同时,还输出对应的意图信息,意图信息用于描述用户意图,用户意图包括:购买、咨询、预约、返回上一页面等等。According to another reference embodiment of the present invention, before displaying the guidance information to the preset front-end page, the intention information associated with the guidance information is determined, and it is determined that the intention information does not meet the preset guidance conditions. While the large model generates guidance information based on the prompt word, it also outputs the corresponding intention information, which is used to describe the user's intention, including: purchase, consultation, appointment, return to the previous page, etc.
引导条件包括一个意图信息集,在大模型输出的意图信息属于该意图信息集的情况下,判定意图信息符合引导条件,说明大模型输出的引导信息不准确,需要执行进一步的处理、得到更准确的引导信息。The guidance conditions include an intention information set. When the intention information output by the large model belongs to the intention information set, it is determined that the intention information meets the guidance conditions, indicating that the guidance information output by the large model is inaccurate and further processing is required to obtain more accurate guidance information.
具体地,在意图信息符合引导条件的情况下,循环执行如下步骤,以确定作为展示至前端页面的引导信息:以该意图信息作为第一轮次的意图信息,确定当前轮次的意图信息对应的用户目的信息,根据用户目的信息生成当前轮次的新提示词;根据大模型确定当前轮次的大模型,将当前轮次的新提示词输入当前轮次的大模型,获取当前轮次的大模型输出的新意图信息和新引导信息;在当前轮次的新意图信息不符合引导条件的情况下,循环终止,以当前轮次的新引导信息作为展示至前端页面的引导信息;在当前轮次的新意图信息符合引导条件的情况下,以当前轮次的新意图信息作为下一轮次的意图信息。具体地,查询预先设置的业务编排信息,确定与意图信息关联的目的信息,例如,在意图信息为“购买”的情况下,对应的目的信息为“获得购买优惠咨询”。根据用户目的信息,填充对应的提示词模板,生成对应的新提示词,将新提示词输入大模型,获取大模型输出的新引导信息和新意图信息。然后再判断新意图信息是否符合引导条件。Specifically, when the intent information meets the guidance conditions, the following steps are executed in a loop to determine the guidance information displayed to the front-end page: the intent information is used as the intent information of the first round, the user purpose information corresponding to the intent information of the current round is determined, and the new prompt words of the current round are generated according to the user purpose information; the large model of the current round is determined according to the large model, and the new prompt words of the current round are input into the large model of the current round to obtain the new intent information and new guidance information output by the large model of the current round; when the new intent information of the current round does not meet the guidance conditions, the loop is terminated, and the new guidance information of the current round is used as the guidance information displayed to the front-end page; when the new intent information of the current round meets the guidance conditions, the new intent information of the current round is used as the intent information of the next round. Specifically, the pre-set business arrangement information is queried to determine the purpose information associated with the intent information. For example, when the intent information is "purchase", the corresponding purpose information is "obtain purchase discount consultation". According to the user purpose information, the corresponding prompt word template is filled, the corresponding new prompt word is generated, the new prompt word is input into the large model, and the new guidance information and new intent information output by the large model are obtained. Then determine whether the new intention information meets the guidance conditions.
图3是根据本发明一个可参考实施例的大模型对话链的示意图。示例性地,如图3所示,用户在前端页面上发起对话,触发了工作流中止机制,本发明实施例的执行主体将用户在前端页面上输入的文本作为中止信息,根据中止信息,生成提示词1;然后将提示词1输入大模型,生成引导信息1和意图信息1;判断意图信息1是否是目标意图,在意图信息1不是目标意图的情况下,将引导信息1展示在前端页面上,返回给用户;在意图信息1是目标意图的情况下,再根据中止信息和引导信息1,生成提示词2;然后将提示词2输入大模型,生成引导信息2和意图信息2;之后再重复之前的判断步骤,直至意图信息不是目标意图,将对应的引导信息返回给用户。需要说明的是,用于生成引导信息的输入包括:用户在前端页面上述输入的文本、用户行为数据、以及之前生成的返回给该用户的引导信息;将引导信息的生成过程作为一次输入输出过程,上一过程所输出的引导信息是下一过程所输入的信息。FIG3 is a schematic diagram of a large model dialogue chain according to a reference embodiment of the present invention. Exemplarily, as shown in FIG3, the user initiates a dialogue on the front-end page, triggering the workflow termination mechanism. The execution subject of the embodiment of the present invention uses the text entered by the user on the front-end page as the termination information, and generates prompt word 1 according to the termination information; then the prompt word 1 is input into the large model to generate guide information 1 and intention information 1; it is determined whether the intention information 1 is the target intention, and if the intention information 1 is not the target intention, the guide information 1 is displayed on the front-end page and returned to the user; if the intention information 1 is the target intention, prompt word 2 is generated according to the termination information and the guide information 1; then prompt word 2 is input into the large model to generate guide information 2 and intention information 2; then the previous judgment steps are repeated until the intention information is not the target intention, and the corresponding guide information is returned to the user. It should be noted that the input for generating the guide information includes: the text entered by the user on the front-end page, the user behavior data, and the guide information generated and returned to the user before; the generation process of the guide information is regarded as an input and output process, and the guide information output by the previous process is the information input by the next process.
根据引导信息关联的意图信息,判断是否需要再次生成新的引导信息和意图信息,经过多次大模型输出,得到最终返回给用户的引导信息,能够准确确定用户的意图和目的,便于为用户提出准确的引导信息,帮助用户快速返回工作流的流程节点。Based on the intent information associated with the guidance information, it is determined whether new guidance information and intent information need to be generated again. After multiple large model outputs, the guidance information finally returned to the user is obtained, which can accurately determine the user's intention and purpose, facilitate the provision of accurate guidance information to the user, and help the user quickly return to the process node of the workflow.
根据本发明一个可参考的实施例,在根据大模型确定当前轮次的大模型时,判断当前轮次的新提示词与大模型是否匹配,例如,确定新提示词对应的提示词模板,查询预先设置的业务编排信息,判断与提示词模板关联的大模型是否是即将输入的大模型,若是,则判定新提示词与大模型匹配。再例如,查询预先设置的业务编排信息,确定大模型对应的提示词条件,提示词条件包括:提示词最大长度、提示词应当(或者不应当)包括的关键词、提示词不存在空值等等,在新提示词符合大模型对应的提示词条件的情况下,判定新提示词与大模型匹配。响应于判定当前轮次的新提示词与大模型匹配,将该大模型作为当前轮次的大模型,将新提示词输入大模型。According to a reference embodiment of the present invention, when determining the big model of the current round according to the big model, it is determined whether the new prompt word of the current round matches the big model. For example, the prompt word template corresponding to the new prompt word is determined, and the pre-set business arrangement information is queried to determine whether the big model associated with the prompt word template is the big model to be input. If so, it is determined that the new prompt word matches the big model. For another example, the pre-set business arrangement information is queried to determine the prompt word conditions corresponding to the big model. The prompt word conditions include: the maximum length of the prompt word, the keywords that the prompt word should (or should not) include, the prompt word does not have a null value, etc. When the new prompt word meets the prompt word conditions corresponding to the big model, it is determined that the new prompt word matches the big model. In response to determining that the new prompt word of the current round matches the big model, the big model is used as the big model of the current round, and the new prompt word is input into the big model.
响应于判定当前轮次的新提示词与大模型不匹配,从预先设置的多个大模型中,筛选出与当前轮次的新提示词匹配的目标大模型。具体地,将新提示词与其余大模型的提示词条件进行比较,将新提示词所符合的提示词条件对应的大模型作为目标大模型,或者,查询业务编排信息,确定新提示词对应的提示词模板,将提示词模板关联的大模型作为目标大模型。然后将新提示词输入目标大模型,获取目标大模型输出的新引导信息和新意图信息;判断新意图信息是否符合引导条件。In response to determining that the new prompt word of the current round does not match the big model, a target big model matching the new prompt word of the current round is screened out from the pre-set multiple big models. Specifically, the new prompt word is compared with the prompt word conditions of the remaining big models, and the big model corresponding to the prompt word condition that the new prompt word meets is used as the target big model, or the business arrangement information is queried to determine the prompt word template corresponding to the new prompt word, and the big model associated with the prompt word template is used as the target big model. Then the new prompt word is input into the target big model, and the new guidance information and new intention information output by the target big model are obtained; and it is determined whether the new intention information meets the guidance condition.
需要说明的是,在保险、物流、电商、金融等多个业务领域中均存在对应的工作流,获取多个业务领域中的业务知识,使用相同业务领域中的业务知识对大模型进行预训练,得到不同业务领域对应的大模型,每个大模型具有各自业务领域的业务知识。It should be noted that there are corresponding workflows in multiple business fields such as insurance, logistics, e-commerce, and finance. Business knowledge in multiple business fields is obtained, and the big model is pre-trained using the business knowledge in the same business field to obtain big models corresponding to different business fields. Each big model has the business knowledge of its own business field.
在提示词与大模型不匹配的情况下,从多个大模型中筛选出目标大模型,能够提高大模型输出的灵活性,满足不同的大模型分析需求。When the prompt word does not match the large model, screening out the target large model from multiple large models can improve the flexibility of large model output and meet different large model analysis needs.
根据本发明另一个可参考的实施例,在获取当前轮次的大模型输出的新引导信息和新意图信息之前,获取与用户关联的历史引导信息。具体地,历史引导信息是之前生成并返回给用户的引导信息,历史引导信息曾帮助用户返回工作流并继续处理工作流。本发明实施例的执行主体具有短期记忆功能,对之前生成的引导信息进行存储,在需要生成新引导信息和新意图信息时,本发明实施例的执行主体获取对应用户的历史引导信息,即之前生成并返回给用户的引导信息,将历史引导信息与中止信息组合,将组合后的信息输入大模型,使大模型根据新提示词和历史引导信息,输出新引导信息和新意图信息。According to another reference embodiment of the present invention, before obtaining the new guidance information and new intent information output by the large model of the current round, historical guidance information associated with the user is obtained. Specifically, the historical guidance information is the guidance information previously generated and returned to the user, and the historical guidance information has helped the user return to the workflow and continue to process the workflow. The execution subject of the embodiment of the present invention has a short-term memory function, and stores the guidance information generated previously. When it is necessary to generate new guidance information and new intent information, the execution subject of the embodiment of the present invention obtains the historical guidance information of the corresponding user, that is, the guidance information previously generated and returned to the user, combines the historical guidance information with the termination information, and inputs the combined information into the large model, so that the large model outputs new guidance information and new intent information according to the new prompt words and historical guidance information.
示例性地,在上一次用户F处理工作流时,向本发明实施例的执行主体主动提问“如何购买意外险”,此时工作流中止,用户输入只有文本,本发明实施例的执行主体根据用户输入文本等中止信息,结合大模型,分析出引导信息和意图信息,将引导信息作为历史引导信息进行存储;在本次用户F点击弹窗关闭时,中止信息包括:用户关闭页面的动作、关闭前停留的页面,然后本发明实施例的执行主体再获取该用户对应的历史引导信息,即用户上次想买意外险,但本次处理人寿险的工作流时页面异常关闭了,判定用户产生了购买人寿险的想法,从而生成对应的引导信息,引导用户返回人寿险的工作流。Exemplarily, the last time user F processed the workflow, he actively asked the executive body of the embodiment of the present invention "How to buy accident insurance". At this time, the workflow was terminated and the user input was only text. The executive body of the embodiment of the present invention analyzed the guidance information and intention information based on the termination information such as the user input text and the large model, and stored the guidance information as historical guidance information; when user F clicks the pop-up window to close this time, the termination information includes: the user's action of closing the page and the page that was stopped before closing. Then the executive body of the embodiment of the present invention obtains the corresponding historical guidance information of the user, that is, the user wanted to buy accident insurance last time, but the page was abnormally closed when processing the workflow of life insurance this time. It is determined that the user has the idea of buying life insurance, and the corresponding guidance information is generated to guide the user to return to the workflow of life insurance.
基于之前输出给用户的历史引导信息,生成新的引导信息,能够进一步提高引导信息的准确性,提高工作流处理效率。Generating new guidance information based on historical guidance information previously output to the user can further improve the accuracy of the guidance information and improve the efficiency of workflow processing.
根据本发明又一个可参考的实施例,预先设置多种触发工作流中止的机制,每种触发工作流中止的机制对应一种工作流的中止信息的获取方式。具体地,本发明实施例的执行主体在前端页面内生成一个页面组件iframe和一个对话框,然后在iframe中展示子业务页面(即工作流页面),用户在子业务页面中处理工作流,在用户遇到问题时,在对话框内提出问题,此时触发工作流中止机制,由前端页面通过postMessage向本发明实施例的执行主体发送对话请求,然后本发明实施例的执行主体根据接收到的对话请求,确定用户的对话信息,将对话信息作为工作流的中止信息。According to another reference embodiment of the present invention, multiple mechanisms for triggering workflow termination are pre-set, and each mechanism for triggering workflow termination corresponds to a method for obtaining workflow termination information. Specifically, the execution subject of the embodiment of the present invention generates a page component iframe and a dialog box in the front-end page, and then displays a sub-business page (i.e., workflow page) in the iframe. The user processes the workflow in the sub-business page. When the user encounters a problem, the user asks the question in the dialog box, which triggers the workflow termination mechanism. The front-end page sends a dialogue request to the execution subject of the embodiment of the present invention through postMessage, and then the execution subject of the embodiment of the present invention determines the user's dialogue information based on the received dialogue request, and uses the dialogue information as the workflow termination information.
或者,本发明实施例的执行主体对前端页面上发生的事件进行监控,响应于检测到目标事件发生,判断目标事件是否属于预先设置的中止事件集,在目标事件属于中止事件集的情况下,确定目标事件的事件信息,将事件信息所包括的信息作为工作流的中止信息。中止事件集中的事件包括:页面输出异常信息、在未处理成功的情况下页面被关闭、页面加载失败等等。Alternatively, the execution subject of the embodiment of the present invention monitors the events occurring on the front-end page, and in response to detecting the occurrence of the target event, determines whether the target event belongs to a preset termination event set, and if the target event belongs to the termination event set, determines the event information of the target event, and uses the information included in the event information as the termination information of the workflow. The events in the termination event set include: page output abnormal information, page closing without successful processing, page loading failure, etc.
用户向本发明实施例的执行主体提问或者请求对话,以及检测到因用户的某些操作使工作流异常退出或者异常中断,能够降低用户的使用难度,提高用户处理工作流的效率。The user asks questions to the execution subject of the embodiment of the present invention or requests a dialogue, and detects that the workflow is abnormally exited or abnormally interrupted due to certain operations of the user, which can reduce the user's usage difficulty and improve the user's efficiency in processing the workflow.
图4是根据本发明一个可参考实施例的工作流恢复的技术架构的示意图。示例性地,如图4所示,本发明实施例的执行主体401包括:对话框前端、对话业务后端、大模型对话后端、业务编排管理和对话编排管理等多个模块。具体地,在对话框前端内生成一个业务组件iframe,在iframe中展示子业务前端页面,每个子业务前端页面对应工作流中的一个环节(即一个工作流页面),用户在子业务前端页面中执行业务流程,然后在对话框前端页面中提出问题,子业务前端通过postMessage向对话框前端同步业务信息,对话框前端根据用户请求,唤起对应的子业务前端,使用户返回之前中止的工作流。子业务前端与子业务后端内部交互业务信息,子业务后端与对话业务后端同步业务信息,例如,同步子业务执行过程中的异常信息、工作流执行结果等等。对话框前端将前端业务状态上报至对话业务后端。对话业务后端用于确定中止场景,大模型对话后端用于确定引导场景,并根据中止信息生成引导信息,再将引导信息经过对话业务后端、对话框前端,返回给用户。业务编排管理用于管理中止场景、中止场景对应的业务逻辑等等。对话编排管理用于管理中止场景对应的引导场景、生成大模型对话链等等。业务编排管理和对话编排管理对对话业务后端和大模型对话后端进行动态配置。FIG4 is a schematic diagram of a technical architecture of workflow recovery according to a reference embodiment of the present invention. Exemplarily, as shown in FIG4, the execution body 401 of the embodiment of the present invention includes: a dialog front end, a dialog business back end, a large model dialog back end, a business orchestration management and a dialog orchestration management module. Specifically, a business component iframe is generated in the dialog front end, and a sub-business front end page is displayed in the iframe. Each sub-business front end page corresponds to a link in the workflow (i.e., a workflow page). The user executes the business process in the sub-business front end page, and then asks a question in the dialog front end page. The sub-business front end synchronizes business information to the dialog front end through postMessage. The dialog front end, according to the user's request, calls up the corresponding sub-business front end, so that the user returns to the previously terminated workflow. The sub-business front end and the sub-business back end exchange business information internally, and the sub-business back end synchronizes business information with the dialog business back end, for example, the abnormal information during the execution of the synchronized sub-business, the workflow execution results, etc. The dialog front end reports the front end business status to the dialog business back end. The conversation business backend is used to determine the termination scenario, and the large model conversation backend is used to determine the guidance scenario, and generate guidance information based on the termination information, and then return the guidance information to the user through the conversation business backend and the dialog frontend. Business choreography management is used to manage the termination scenario, the business logic corresponding to the termination scenario, etc. Conversation choreography management is used to manage the guidance scenario corresponding to the termination scenario, generate the large model conversation chain, etc. Business choreography management and conversation choreography management dynamically configure the conversation business backend and the large model conversation backend.
图5是根据本发明一个可参考实施例的在多模块协作的工作流恢复的主要流程的示意图。示例性地,如图5所示,本发明实施例的执行主体包括:页面对话接收模块、页面事件监听模块、业务结果接收模块、提示词生成模块、对话业务处理模块、对话组装模块、页面对话展示模块等多个模块。其中,页面对话接收模块用于接收用户发送的对话请求,触发工作流中止机制流程,页面事件监听模块用于监听页面事件,触发工作流中止流程,业务结果接收模块用于接收工作流对应的业务逻辑的执行结果,在出现异常信息的情况下,触发工作流中止流程。提示词生成模块用于获取中止信息,将中止场景转换为引导场景,确定提示词模板,生成提示词,对话业务处理模块用于根据提示词、本发明实施例的执行主体与用户的历史对话、历史引导信息、中止信息等等,生成引导信息,对话组装模块用于对历史对话进行组装;页面对话展示模块用于展示引导信息,与用户进行对话,为用户答疑解惑,帮助用户返回工作流。FIG5 is a schematic diagram of the main process of workflow recovery in multi-module collaboration according to a reference embodiment of the present invention. Exemplarily, as shown in FIG5, the execution subject of the embodiment of the present invention includes: a page dialogue receiving module, a page event monitoring module, a business result receiving module, a prompt word generation module, a dialogue business processing module, a dialogue assembly module, a page dialogue display module and other modules. Among them, the page dialogue receiving module is used to receive the dialogue request sent by the user and trigger the workflow suspension mechanism process. The page event monitoring module is used to monitor the page event and trigger the workflow suspension process. The business result receiving module is used to receive the execution result of the business logic corresponding to the workflow and trigger the workflow suspension process in the event of abnormal information. The prompt word generation module is used to obtain the suspension information, convert the suspension scene into the guidance scene, determine the prompt word template, and generate the prompt word. The dialogue business processing module is used to generate the guidance information according to the prompt word, the historical dialogue between the execution subject of the embodiment of the present invention and the user, the historical guidance information, the suspension information, etc. The dialogue assembly module is used to assemble the historical dialogue; the page dialogue display module is used to display the guidance information, have a dialogue with the user, answer questions for the user, and help the user return to the workflow.
图6是根据本发明一个可参考实施例的工作流恢复的方法的主要流程的示意图。如图6所示,工作流恢复的方法可以包括:Fig. 6 is a schematic diagram of the main process of a method for workflow recovery according to a reference embodiment of the present invention. As shown in Fig. 6, the method for workflow recovery may include:
步骤S601,响应于接收到对话请求,根据对话请求,确定用户的对话信息,将对话信息作为工作流的中止信息;Step S601, in response to receiving a dialog request, determining the dialog information of the user according to the dialog request, and using the dialog information as the termination information of the workflow;
步骤S602,根据中止信息,确定工作流的中止场景;Step S602, determining the workflow termination scenario according to the termination information;
步骤S603,根据预先设置的业务编排信息,确定中止场景对应的业务逻辑;Step S603, determining the service logic corresponding to the suspension scenario according to the preset service arrangement information;
步骤S604,执行业务逻辑,获取业务逻辑的执行结果,根据执行结果,确定中止场景对应的引导场景;Step S604, executing the business logic, obtaining the execution result of the business logic, and determining the guiding scenario corresponding to the suspension scenario according to the execution result;
步骤S605,根据中止信息,更新引导场景对应的提示词模板,将更新后的提示词模板作为提示词;Step S605, updating the prompt word template corresponding to the guidance scene according to the suspension information, and using the updated prompt word template as the prompt word;
步骤S606,将提示词输入预先设置的大模型,使大模型根据提示词,生成工作流的引导信息;Step S606, inputting the prompt word into the preset macro model, so that the macro model generates workflow guidance information according to the prompt word;
步骤S607,将引导信息展示至预先设置的前端页面,使处理工作流的用户根据引导信息,返回工作流所包括的流程节点,继续处理工作流。Step S607, the guidance information is displayed on a preset front-end page, so that the user processing the workflow can return to the process node included in the workflow according to the guidance information and continue processing the workflow.
上述本发明一个可参考实施例的工作流恢复的方法的具体实施内容,在上面工作流恢复的方法中已经详细说明了,故在此重复内容不再说明。The specific implementation content of the workflow recovery method of the above-mentioned reference embodiment of the present invention has been described in detail in the above workflow recovery method, so the repeated content will not be described again here.
根据本发明实施例的第二方面,提供一种工作流恢复的装置。According to a second aspect of an embodiment of the present invention, a device for recovering a workflow is provided.
图7是根据本发明实施例的工作流恢复的装置的主要模块的示意图,如图7所示,工作流恢复的装置700主要包括:FIG. 7 is a schematic diagram of main modules of a device for workflow recovery according to an embodiment of the present invention. As shown in FIG. 7 , a device 700 for workflow recovery mainly includes:
第一生成模块701,用于响应于获取到工作流的中止信息,根据该中止信息,生成对应的提示词;The first generating module 701 is used to generate corresponding prompt words according to the termination information of the workflow in response to the acquisition;
第二生成模块702,用于将该提示词输入预先设置的大模型,使大模型根据该提示词,生成工作流的引导信息;The second generating module 702 is used to input the prompt word into a preset large model, so that the large model generates workflow guidance information according to the prompt word;
引导模块703,用于将该引导信息展示至预先设置的前端页面,使处理工作流的用户根据该引导信息,返回工作流所包括的流程节点,继续处理工作流。The guidance module 703 is used to display the guidance information on a preset front-end page, so that the user processing the workflow can return to the process node included in the workflow according to the guidance information and continue processing the workflow.
根据本发明一个可参考的实施例,根据该中止信息,生成对应的提示词,包括:根据该中止信息,确定工作流的中止场景;根据预先设置的业务编排信息,确定中止场景对应的引导场景;根据该中止信息,更新引导场景对应的提示词模板,将更新后的提示词模板作为该提示词。According to a reference embodiment of the present invention, a corresponding prompt word is generated according to the termination information, including: determining the termination scenario of the workflow according to the termination information; determining the guide scenario corresponding to the termination scenario according to pre-set business orchestration information; updating the prompt word template corresponding to the guide scenario according to the termination information, and using the updated prompt word template as the prompt word.
根据本发明另一个可参考的实施例,根据预先设置的业务编排信息,确定中止场景对应的引导场景,包括:根据业务编排信息,确定中止场景对应的业务逻辑;执行业务逻辑,获取业务逻辑的执行结果;根据该执行结果,确定中止场景对应的引导场景。According to another reference embodiment of the present invention, a guiding scenario corresponding to the termination scenario is determined according to pre-set business orchestration information, including: determining the business logic corresponding to the termination scenario according to the business orchestration information; executing the business logic to obtain the execution result of the business logic; and determining the guiding scenario corresponding to the termination scenario according to the execution result.
根据本发明又一个可参考的实施例,引导模块703还用于:在将该引导信息展示至预先设置的前端页面之前,确定与该引导信息关联的意图信息,并判定该意图信息不符合预先设置的引导条件;在该意图信息符合预先设置的引导条件的情况下,循环执行如下步骤,以确定作为展示至前端页面的引导信息:According to another reference embodiment of the present invention, the guidance module 703 is further used to: before displaying the guidance information on a preset front-end page, determine the intention information associated with the guidance information, and determine whether the intention information meets the preset guidance condition; if the intention information meets the preset guidance condition, loop the following steps to determine the guidance information to be displayed on the front-end page:
以该意图信息作为第一轮次的意图信息,确定当前轮次的意图信息对应的用户目的信息,根据用户目的信息生成当前轮次的新提示词;根据大模型确定当前轮次的大模型,将当前轮次的新提示词输入当前轮次的大模型,获取当前轮次的大模型输出的新意图信息和新引导信息;在当前轮次的新意图信息不符合引导条件的情况下,循环终止,以当前轮次的新引导信息作为展示至前端页面的引导信息;在当前轮次的新意图信息符合引导条件的情况下,以当前轮次的新意图信息作为下一轮次的意图信息。Use the intent information as the intent information of the first round, determine the user purpose information corresponding to the intent information of the current round, and generate new prompt words for the current round according to the user purpose information; determine the big model of the current round according to the big model, input the new prompt words of the current round into the big model of the current round, and obtain the new intent information and new guidance information output by the big model of the current round; when the new intent information of the current round does not meet the guidance conditions, the loop is terminated, and the new guidance information of the current round is used as the guidance information displayed on the front-end page; when the new intent information of the current round meets the guidance conditions, the new intent information of the current round is used as the intent information for the next round.
根据本发明还一个可参考的实施例,引导模块703还用于:响应于判定当前轮次的新提示词与大模型匹配,将所述大模型作为当前轮次的大模型;响应于判定新提示词与大模型不匹配,从预先设置的多个大模型中,筛选出与当前轮次的新提示词匹配的目标大模型;以目标大模型作为当前轮次的大模型。According to another reference embodiment of the present invention, the guiding module 703 is also used for: in response to determining that the new prompt word of the current round matches the big model, using the big model as the big model of the current round; in response to determining that the new prompt word does not match the big model, screening out a target big model that matches the new prompt word of the current round from a plurality of pre-set big models; using the target big model as the big model of the current round.
根据本发明再一个可参考的实施例,引导模块703还用于:获取与用户关联的历史引导信息;将历史引导信息输入当前轮次的大模型,使当前轮次的大模型根据当前轮次的新提示词和历史引导信息,输出当前轮次的新引导信息和新意图信息。According to another reference embodiment of the present invention, the guidance module 703 is also used to: obtain historical guidance information associated with the user; input the historical guidance information into the big model of the current round, so that the big model of the current round outputs new guidance information and new intention information of the current round according to the new prompt words of the current round and the historical guidance information.
根据本发明一个可参考的实施例,获取到工作流的中止信息,包括:响应于接收到对话请求,根据对话请求,确定用户的对话信息,将对话信息作为工作流的中止信息;或者,响应于检测到目标事件发生,判断目标事件是否属于预先设置的中止事件集,在目标事件属于中止事件集的情况下,确定目标事件的事件信息,将该事件信息作为工作流的中止信息。According to a reference embodiment of the present invention, the termination information of the workflow is obtained, including: in response to receiving a dialogue request, determining the user's dialogue information according to the dialogue request, and using the dialogue information as the termination information of the workflow; or, in response to detecting the occurrence of a target event, determining whether the target event belongs to a preset termination event set, and in the case that the target event belongs to the termination event set, determining the event information of the target event, and using the event information as the termination information of the workflow.
需要说明的是,在本发明实施例中工作流恢复的装置的具体实施内容,在上面工作流恢复的方法中已经详细说明了,故在此重复内容不再说明。It should be noted that the specific implementation content of the device for workflow recovery in the embodiment of the present invention has been described in detail in the above workflow recovery method, so the repeated content will not be described again here.
根据本发明实施例的技术方案,基于大模型对工作流的中止信息进行解析,得到对应的引导信息,使用户根据引导信息返回工作流的流程节点,继续处理工作流,能够提高工作流的处理效率,降低用户处理工作流的难度,提高用户体验;根据业务编排信息,确定中止场景对应的引导场景,根据引导场景生成提示词,能够灵活、准确地生成提示词;执行中止场景对应的业务逻辑,根据业务逻辑的执行结果,确定引导场景,能够灵活、高效地确定引导场景;根据引导信息关联的意图信息,判断是否需要再次生成新的引导信息和意图信息,经过多次大模型输出,得到最终返回给用户的引导信息,能够准确确定用户的意图和目的,便于为用户提出准确的引导信息,帮助用户快速返回工作流的流程节点;在提示词与大模型不匹配的情况下,从多个大模型中筛选出目标大模型,能够提高大模型输出的灵活性,满足不同的大模型分析需求;基于之前输出给用户的历史引导信息,生成新的引导信息,能够进一步提高引导信息的准确性,提高工作流处理效率;方法的触发时机包括:用户向本发明实施例的执行主体提问或者请求对话,以及检测到因用户的某些操作使工作流异常退出或者异常中断,能够降低用户的使用难度,提高用户处理工作流的效率。According to the technical solution of the embodiment of the present invention, the termination information of the workflow is parsed based on the big model to obtain the corresponding guidance information, so that the user can return to the process node of the workflow according to the guidance information and continue to process the workflow, which can improve the processing efficiency of the workflow, reduce the difficulty of users processing the workflow, and improve the user experience; according to the business arrangement information, the guidance scenario corresponding to the termination scenario is determined, and the prompt word is generated according to the guidance scenario, which can flexibly and accurately generate the prompt word; the business logic corresponding to the termination scenario is executed, and the guidance scenario is determined according to the execution result of the business logic, which can flexibly and efficiently determine the guidance scenario; according to the intention information associated with the guidance information, it is determined whether it is necessary to generate new guidance information and intention information again, and after multiple big model outputs, the final return is obtained. The guidance information given to the user can accurately determine the user's intention and purpose, facilitate the provision of accurate guidance information to the user, and help the user quickly return to the process node of the workflow; when the prompt word does not match the large model, the target large model is screened out from multiple large models, which can improve the flexibility of the large model output and meet different large model analysis needs; based on the historical guidance information previously output to the user, new guidance information is generated, which can further improve the accuracy of the guidance information and improve the workflow processing efficiency; the triggering timing of the method includes: the user asks questions to the execution subject of the embodiment of the present invention or requests a dialogue, and detects that the workflow is abnormally exited or abnormally interrupted due to certain operations of the user, which can reduce the user's usage difficulty and improve the user's efficiency in processing the workflow.
根据本发明实施例的第三方面,提供一种电子设备,包括:一个或多个处理器;存储装置,用于存储一个或多个程序,当该一个或多个程序被该一个或多个处理器执行,使得该一个或多个处理器实现本发明实施例第一方面提供的方法。According to a third aspect of an embodiment of the present invention, there is provided an electronic device, comprising: one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the method provided by the first aspect of the embodiment of the present invention.
根据本发明实施例的第四方面,提供一种计算机可读介质,其上存储有计算机程序,该程序被处理器执行时实现本发明实施例第一方面提供的方法。According to a fourth aspect of an embodiment of the present invention, a computer-readable medium is provided, on which a computer program is stored, and when the program is executed by a processor, the method provided by the first aspect of the embodiment of the present invention is implemented.
图8示出了可以应用本发明实施例的工作流恢复的方法或者工作流恢复的装置的示例性系统架构800。FIG. 8 shows an exemplary system architecture 800 to which the method for workflow recovery or the apparatus for workflow recovery according to an embodiment of the present invention can be applied.
如图8所示,系统架构800可以包括终端设备801、802、803,网络804和服务器805。网络804用以在终端设备801、802、803和服务器805之间提供通信链路的介质。网络804可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。As shown in Fig. 8, system architecture 800 may include terminal devices 801, 802, 803, a network 804 and a server 805. Network 804 is used to provide a medium for communication links between terminal devices 801, 802, 803 and server 805. Network 804 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.
用户可以使用终端设备801、802、803通过网络804与服务器805交互,以接收或发送消息等。终端设备801、802、803上可以安装有各种通讯客户端应用,例如工作流恢复类应用、工作流查询类应用、搜索类应用、即时通信工具、邮箱客户端、社交平台软件等(仅为示例)。The user can use the terminal devices 801, 802, 803 to interact with the server 805 through the network 804 to receive or send messages, etc. Various communication client applications can be installed on the terminal devices 801, 802, 803, such as workflow recovery applications, workflow query applications, search applications, instant messaging tools, email clients, social platform software, etc. (only as examples).
终端设备801、802、803可以是具有显示屏并且支持网页浏览的各种电子设备,包括但不限于智能手机、平板电脑、膝上型便携计算机和台式计算机等等。The terminal devices 801 , 802 , and 803 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, and the like.
服务器805可以是提供各种服务的服务器,例如对上游利用终端设备801、802、803所发来的工作流恢复的请求提供支持的后台管理服务器(仅为示例)。后台管理服务器可以响应于获取到工作流的中止信息,根据该中止信息,生成对应的提示词;将该提示词输入预先设置的大模型,使大模型根据该提示词,生成工作流的引导信息;将该引导信息展示至预先设置的前端页面,使处理工作流的用户根据该引导信息,返回工作流所包括的流程节点,继续处理工作流;并将工作流恢复的情况(仅为示例)反馈给终端设备。Server 805 can be a server that provides various services, such as a background management server that provides support for workflow recovery requests sent by upstream terminal devices 801, 802, and 803 (for example only). The background management server can generate corresponding prompt words according to the termination information obtained from the workflow in response to the termination information; input the prompt words into a pre-set large model so that the large model generates workflow guidance information according to the prompt words; display the guidance information to a pre-set front-end page so that the user processing the workflow can return to the process node included in the workflow according to the guidance information and continue processing the workflow; and feedback the workflow recovery situation (for example only) to the terminal device.
需要说明的是,本发明实施例所提供的工作流恢复的方法一般由服务器805执行,相应地,工作流恢复的装置一般设置在服务器805中。本发明实施例所提供的工作流恢复的方法也可以由终端设备801、802、803执行,相应地,工作流恢复的装置可以设置在终端设备801、802、803中。It should be noted that the workflow recovery method provided in the embodiment of the present invention is generally executed by the server 805, and accordingly, the workflow recovery device is generally set in the server 805. The workflow recovery method provided in the embodiment of the present invention can also be executed by the terminal devices 801, 802, and 803, and accordingly, the workflow recovery device can be set in the terminal devices 801, 802, and 803.
应该理解,图8中的终端设备、网络和服务器的数目仅仅是示意性的。根据实现需要,可以具有任意数目的终端设备、网络和服务器。It should be understood that the number of terminal devices, networks and servers in Figure 8 is only for illustration purposes and any number of terminal devices, networks and servers may be provided as required.
下面参考图9,其示出了适于用来实现本发明实施例的终端设备的计算机系统900的结构示意图。图9示出的终端设备仅仅是一个示例,不应对本发明实施例的功能和使用范围带来任何限制。Referring to Figure 9, a schematic diagram of a computer system 900 suitable for implementing a terminal device of an embodiment of the present invention is shown. The terminal device shown in Figure 9 is only an example and should not limit the functions and scope of use of the embodiment of the present invention.
如图9所示,计算机系统900包括中央处理单元(CPU)901,其可以根据存储在只读存储器(ROM)902中的程序或者从存储部分908加载到随机访问存储器(RAM)903中的程序而执行各种适当的动作和处理。在RAM 903中,还存储有系统900操作所需的各种程序和数据。CPU 901、ROM 902以及RAM 903通过总线904彼此相连。输入/输出(I/O)接口905也连接至总线904。As shown in FIG9 , the computer system 900 includes a central processing unit (CPU) 901, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 902 or a program loaded from a storage portion 908 into a random access memory (RAM) 903. In the RAM 903, various programs and data required for the operation of the system 900 are also stored. The CPU 901, the ROM 902, and the RAM 903 are connected to each other via a bus 904. An input/output (I/O) interface 905 is also connected to the bus 904.
以下部件连接至I/O接口905:包括键盘、鼠标等的输入部分906;包括诸如阴极射线管(CRT)、液晶显示器(LCD)等以及扬声器等的输出部分907;包括硬盘等的存储部分908;以及包括诸如LAN卡、调制解调器等的网络接口卡的通信部分909。通信部分909经由诸如因特网的网络执行通信处理。驱动器910也根据需要连接至I/O接口905。可拆卸介质911,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器910上,以便于从其上读出的计算机程序根据需要被安装入存储部分908。The following components are connected to the I/O interface 905: an input section 906 including a keyboard, a mouse, etc.; an output section 907 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 908 including a hard disk, etc.; and a communication section 909 including a network interface card such as a LAN card, a modem, etc. The communication section 909 performs communication processing via a network such as the Internet. A drive 910 is also connected to the I/O interface 905 as needed. A removable medium 911, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 910 as needed, so that a computer program read therefrom is installed into the storage section 908 as needed.
特别地,根据本发明公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本发明公开的实施例包括一种计算机程序,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信部分909从网络上被下载和安装,和/或从可拆卸介质911被安装。在该计算机程序被中央处理单元(CPU)901执行时,执行本发明实施例的系统中限定的上述功能。In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 909, and/or installed from the removable medium 911. When the computer program is executed by the central processing unit (CPU) 901, the above-mentioned functions defined in the system of the embodiment of the present invention are executed.
需要说明的是,本发明实施例所示的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本发明实施例中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本发明实施例中,计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:无线、电线、光缆、RF等等,或者上述的任意合适的组合。It should be noted that the computer-readable medium shown in the embodiment of the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In an embodiment of the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In an embodiment of the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
附图中的流程图和框图,图示了按照本发明各种实施例的系统、方法和计算机程序的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,上述模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图或流程图中的每个方框、以及框图或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
描述于本发明实施例中所涉及到的模块可以通过软件的方式实现,也可以通过硬件的方式来实现。所描述的模块也可以设置在处理器中,例如,可以描述为:一种处理器包括第一生成模块、第二生成模块、引导模块,其中,这些模块的名称在某种情况下并不构成对该模块本身的限定,例如,第一生成模块还可以被描述为“根据中止信息生成提示词的模块”。The modules involved in the embodiments of the present invention may be implemented by software or hardware. The modules described may also be set in a processor, for example, it may be described as: a processor includes a first generation module, a second generation module, and a boot module, wherein the names of these modules do not constitute a limitation on the modules themselves under certain circumstances, for example, the first generation module may also be described as a "module for generating prompt words according to the termination information".
作为另一方面,本发明实施例还提供了一种计算机可读介质,该计算机可读介质可以是上述实施例中描述的设备中所包含的;也可以是单独存在,而未装配入该设备中。上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被一个该设备执行时,该设备实现如下方法:响应于获取到工作流的中止信息,根据该中止信息,生成对应的提示词;将该提示词输入预先设置的大模型,使大模型根据该提示词,生成工作流的引导信息;将该引导信息展示至预先设置的前端页面,使处理工作流的用户根据该引导信息,返回工作流所包括的流程节点,继续处理工作流。As another aspect, an embodiment of the present invention further provides a computer-readable medium, which may be included in the device described in the above embodiment; or it may exist independently and not be assembled into the device. The above computer-readable medium carries one or more programs. When the above one or more programs are executed by a device, the device implements the following method: in response to obtaining the termination information of the workflow, generating a corresponding prompt word according to the termination information; inputting the prompt word into a pre-set large model so that the large model generates the guidance information of the workflow according to the prompt word; displaying the guidance information to a pre-set front-end page so that the user who processes the workflow can return to the process node included in the workflow according to the guidance information and continue to process the workflow.
根据本发明实施例的技术方案,基于大模型对工作流的中止信息进行解析,得到对应的引导信息,使用户根据引导信息返回工作流的流程节点,继续处理工作流,能够提高工作流的处理效率,降低用户处理工作流的难度,提高用户体验;根据业务编排信息,确定中止场景对应的引导场景,根据引导场景生成提示词,能够灵活、准确地生成提示词;执行中止场景对应的业务逻辑,根据业务逻辑的执行结果,确定引导场景,能够灵活、高效地确定引导场景;根据引导信息关联的意图信息,判断是否需要再次生成新的引导信息和意图信息,经过多次大模型输出,得到最终返回给用户的引导信息,能够准确确定用户的意图和目的,便于为用户提出准确的引导信息,帮助用户快速返回工作流的流程节点;在提示词与大模型不匹配的情况下,从多个大模型中筛选出目标大模型,能够提高大模型输出的灵活性,满足不同的大模型分析需求;基于之前输出给用户的历史引导信息,生成新的引导信息,能够进一步提高引导信息的准确性,提高工作流处理效率;方法的触发时机包括:用户向本发明实施例的执行主体提问或者请求对话,以及检测到因用户的某些操作使工作流异常退出或者异常中断,能够降低用户的使用难度,提高用户处理工作流的效率。According to the technical solution of the embodiment of the present invention, the termination information of the workflow is parsed based on the big model to obtain the corresponding guidance information, so that the user can return to the process node of the workflow according to the guidance information and continue to process the workflow, which can improve the processing efficiency of the workflow, reduce the difficulty of users processing the workflow, and improve the user experience; according to the business arrangement information, the guidance scenario corresponding to the termination scenario is determined, and the prompt word is generated according to the guidance scenario, which can flexibly and accurately generate the prompt word; the business logic corresponding to the termination scenario is executed, and the guidance scenario is determined according to the execution result of the business logic, which can flexibly and efficiently determine the guidance scenario; according to the intention information associated with the guidance information, it is determined whether it is necessary to generate new guidance information and intention information again, and after multiple big model outputs, the final return is obtained. The guidance information given to the user can accurately determine the user's intention and purpose, facilitate the provision of accurate guidance information to the user, and help the user quickly return to the process node of the workflow; when the prompt word does not match the large model, the target large model is screened out from multiple large models, which can improve the flexibility of the large model output and meet different large model analysis needs; based on the historical guidance information previously output to the user, new guidance information is generated, which can further improve the accuracy of the guidance information and improve the workflow processing efficiency; the triggering timing of the method includes: the user asks questions to the execution subject of the embodiment of the present invention or requests a dialogue, and detects that the workflow is abnormally exited or abnormally interrupted due to certain operations of the user, which can reduce the user's usage difficulty and improve the user's efficiency in processing the workflow.
上述具体实施方式,并不构成对本发明实施例保护范围的限制。本领域技术人员应该明白的是,取决于设计要求和其他因素,可以发生各种各样的修改、组合、子组合和替代。任何在本发明实施例的精神和原则之内所作的修改、等同替换和改进等,均应包含在本发明实施例保护范围之内。The above specific implementations do not constitute a limitation on the protection scope of the embodiments of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the embodiments of the present invention should be included in the protection scope of the embodiments of the present invention.
Claims (11)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410741119.8A CN118484337A (en) | 2024-06-07 | 2024-06-07 | Workflow recovery method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410741119.8A CN118484337A (en) | 2024-06-07 | 2024-06-07 | Workflow recovery method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN118484337A true CN118484337A (en) | 2024-08-13 |
Family
ID=92197243
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410741119.8A Pending CN118484337A (en) | 2024-06-07 | 2024-06-07 | Workflow recovery method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118484337A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN119557075A (en) * | 2025-01-23 | 2025-03-04 | 京东科技信息技术有限公司 | A workflow recovery method and device |
-
2024
- 2024-06-07 CN CN202410741119.8A patent/CN118484337A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN119557075A (en) * | 2025-01-23 | 2025-03-04 | 京东科技信息技术有限公司 | A workflow recovery method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11005786B2 (en) | Knowledge-driven dialog support conversation system | |
AU2020201883B2 (en) | Call center system having reduced communication latency | |
CN114586048A (en) | Machine Learning (ML) Infrastructure Technologies | |
US9396046B2 (en) | Graph based data model for API ecosystem insights | |
CN114556322A (en) | Chatbots for defining machine learning (ML) solutions | |
CN111857794A (en) | Robotic Scalability Infrastructure | |
US11586954B2 (en) | Predictive analytics and services | |
US20090063175A1 (en) | Methods and systems for providing multiple support options | |
CN110708358A (en) | Session message processing method, electronic device, and computer-readable storage medium | |
EP1416383A1 (en) | Identifying solutions to computer problems in client/server system | |
CN118484337A (en) | Workflow recovery method and device | |
CN112163154A (en) | Data processing method, device, equipment and storage medium | |
US11394668B1 (en) | System and method for executing operations in a performance engineering environment | |
CN114881739A (en) | Order event processing method and device, electronic equipment and storage medium | |
CN113344691A (en) | Tax declaration data processing method and device, electronic device and readable medium | |
CN118551057A (en) | Task execution method, device, equipment, medium and program product | |
CN118394642A (en) | Verification method and device | |
WO2004040510A2 (en) | Identifying solutions to computer problems by expert system using contexts and distinguishing versions | |
US11935069B2 (en) | Event-driven platform for proactive interventions in a software application | |
CN115629743A (en) | Service component arranging method, service scheduling method and device, electronic equipment and storage medium | |
US20220035992A1 (en) | Ai driven content correction built on personas | |
US7962847B2 (en) | Method for providing dynamic process step annotations | |
US20250037223A1 (en) | Computer-based tool for enterprise contract assessment | |
CN111435381A (en) | Request distribution method and device | |
US12423633B2 (en) | Dynamic generation of custom post-call workflow |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |