arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.19485cs.DCcs.AIcs.LGcs.SE
收藏

Action Engine:函数即服务(FaaS)中的自动工作流生成

Action Engine: Automatic Workflow Generation in FaaS

University of North Texas (UNT)(北卡罗来纳州立大学)

Akiharu Esashi, Pawissanutt Lertpongrujikorn, Shinji Kato, Mohsen Amini Salehi

AI总结:

针对云原生开发者构建FaaS工作流的专业知识、平台依赖等挑战,本文提出核心为工具增强LLM的Action Engine机制,可自动生成并执行FaaS工作流,填补工具增强LLM研究空白,且性能与少样本学习相当、保持平台和语言无关性。

摘要:

函数即服务(FaaS)凭借其在可扩展性、成本效益和易用性方面的固有优势,有望成为下一代云系统的基础。然而,对于云原生应用开发者而言,构建函数工作流时仍面临专业知识需求、平台依赖以及扩展性困难等挑战。为克服这些挑战并减轻开发基于FaaS的应用的负担,本文提出一种名为Action Engine的机制,其核心利用工具增强的大型语言模型(LLMs)来解释人类语言查询并自动生成FaaS工作流,从而减少对专业知识和手动设计的需求。Action Engine包含从FaaS仓库识别相关函数的模块,并无缝管理函数之间的数据依赖,确保开发者的查询得到处理和解决。此外,Action Engine可通过注入用户提供的参数来执行生成的工作流。另一方面,本研究通过采用自动FaaS工作流生成的视角,系统评估四个基本子过程的方法,填补了工具增强LLM研究中的一个空白。通过对各种参数进行基准测试,本研究为简化实际应用(特别是FaaS领域)的工作流自动化提供了关键见解。我们的评估表明,Action Engine在保持平台和语言无关性的同时,实现了与少样本学习方法相当的性能,从而减轻了工作流生成中的供应商特定依赖。我们发现,Action Engine可以为非云技术开发者解锁FaaS工作流生成,并加快云原生应用的开发周期。

英文摘要:

Function as a Service (FaaS) is poised to become the foundation of the next generation of cloud systems due to its inherent advantages in scalability, cost-efficiency, and ease of use. However, challenges such as the need for specialized knowledge, platform dependence, and difficulty in scalability in building functional workflows persist for cloud-native application developers. To overcome these challenges and mitigate the burden of developing FaaS-based applications, in this paper, we propose a mechanism called Action Engine, that makes use of tool-augmented large language models (LLMs) at its kernel to interpret human language queries and automates FaaS workflow generation, thereby, reducing the need for specialized expertise and manual design. Action Engine includes modules to identify relevant functions from the FaaS repository and seamlessly manage the data dependency between them, ensuring the developer's query is processed and resolved. Beyond that, Action Engine can execute the generated workflow by injecting the user-provided arguments. On another front, this work addresses a gap in tool-augmented LLM research via adopting an Automatic FaaS Workflow Generation perspective to systematically evaluate methodologies across four fundamental sub-processes. Through benchmarking various parameters, this research provides critical insights into streamlining workflow automation for real-world applications, specifically in the FaaS continuum. Our evaluations demonstrate that the Action Engine achieves comparable performance to the few-shot learning approach while maintaining platform- and language-agnosticism, thereby, mitigating provider-specific dependencies in workflow generation. We notice that Action Engine can unlock FaaS workflow generation for non-cloud-savvy developers and expedite the development cycles of cloud-native applications.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑