一句话:提出 LLM4Workflow,利用 LLM 嵌入 API 知识,从描述自动生成可执行工作流模型。
工作流模型广泛用于软件系统自动化,但构建模型需要领域知识与建模技能,门槛较高。本文提出 LLM4Workflow,一个基于大语言模型的自动化工作流模型生成工具。该工具以工作流描述为输入,自动嵌入相关 API 知识,并利用 LLM 的上下文学习能力生成正确且可执行的工作流模型。作者在真实工作流系统上通过功能验证与仿真测试评估其有效性,结果表明确实能生成可执行模型。该工具已开源,并提供了演示视频。
Workflows are pervasive in software systems where business processes and scientific methods are implemented as workflow models to achieve automated process execution. However, despite the benefit of no/low-code workflow automation, creating workflow models requires in-depth domain knowledge and nontrivial workflow modeling skills, which becomes a hurdle for the proliferation of workflow applications. Recently, Large language models (LLMs) have been widely applied in software code generation given their outstanding ability to understand complex instructions and generate accurate, context-aware code. Inspired by the success of LLMs in code generation, this paper aims to investigate how to use LLMs to automate workflow model generation. We present LLM4Workflow, an LLM-based automated workflow model generation tool. Using workflow descriptions as the input, LLM4Workflow can automatically embed relevant API knowledge and leverage LLM's powerful contextual learning abilities to generate correct and executable workflow models. Its effectiveness was validated through functional verification and simulation tests on a real-world workflow system. LLM4Workflow is open sourced at https://github.com/ISEC-AHU/LLM4Workflow, and the demo video is provided at https://youtu.be/XRQ0saKkuxY.
DOI 原文 ·
@inproceedings{paperbot8400,
title = {LLM4Workflow: An LLM-based Automated Workflow Model Generation Tool},
author = {Jia Xu and Weilin Du and Xiao Liu and Xuejun Li},
booktitle = {ASE},
year = {2024},
doi = {10.1145/3691620.3695360}
}