arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2507.11288cs.AI
收藏

Opus:面向复杂工作流生成的提示意图框架

Opus: A Prompt Intention Framework for Complex Workflow Generation

AppliedAI

Théo Fagnoni, Mahsun Altin, Chia En Chung, Phillip Kingston, Alan Tuning, Dana O. Mohamed, Inès Adnani

AI总结:

本文提出Opus提示意图框架,通过在用户查询与工作流生成之间引入意图捕获层,提取工作流信号并构建结构化意图对象,从而显著提升LLM在复杂多意图场景下的工作流生成质量。

摘要:

本文介绍了Opus提示意图框架,旨在利用指令微调的大语言模型(LLMs)改进复杂工作流生成。我们在用户查询与工作流生成之间提出了一个中间的意图捕获层,实现了Opus工作流意图框架,该框架包括从用户查询中提取工作流信号、将其解释为结构化的工作流意图对象,以及基于这些意图生成工作流。我们的结果表明,该层使LLMs能够产生逻辑清晰且有意义的输出,并且随着查询复杂度的增加,输出能够可靠地扩展。在一个包含1,000个多意图查询-工作流对的合成基准上,将Opus提示意图框架应用于工作流生成,在语义工作流相似度指标上取得了一致的改进。在本文中,我们通过将工作流信号和工作流意图的概念应用于LLM驱动的工作流生成,介绍了Opus提示意图框架。我们提出了一个可复现、可定制的基于LLM的意图捕获系统,用于从用户查询中提取工作流信号和工作流意图。最后,我们提供了实证证据,表明与直接从用户查询生成相比,所提出的系统显著提高了工作流生成质量,特别是在混合意图诱导的情况下。

英文摘要:

This paper introduces the Opus Prompt Intention Framework, designed to improve complex Workflow Generation with instruction-tuned Large Language Models (LLMs). We propose an intermediate Intention Capture layer between user queries and Workflow Generation, implementing the Opus Workflow Intention Framework, which consists of extracting Workflow Signals from user queries, interpreting them into structured Workflow Intention objects, and generating Workflows based on these Intentions. Our results show that this layer enables LLMs to produce logical and meaningful outputs that scale reliably as query complexity increases. On a synthetic benchmark of 1,000 multi-intent query-Workflow(s) pairs, applying the Opus Prompt Intention Framework to Workflow Generation yields consistent improvements in semantic Workflow similarity metrics. In this paper, we introduce the Opus Prompt Intention Framework by applying the concepts of Workflow Signal and Workflow Intention to LLM-driven Workflow Generation. We present a reproducible, customizable LLM-based Intention Capture system to extract Workflow Signals and Workflow Intentions from user queries. Finally, we provide empirical evidence that the proposed system significantly improves Workflow Generation quality compared to direct generation from user queries, particularly in cases of Mixed Intention Elicitation.

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

↑