arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2306.03460cs.LGcs.CLcs.HC

通过程序综合实现自然语言指挥

Natural Language Commanding via Program Synthesis

Microsoft(微软)

Apurva Gandhi, Thong Q. Nguyen, Huitian Jiao, Robert Steen, Ameya Bhatawdekar

AI总结:

本文提出 Semantic Interpreter,通过 ODSL 与 Analysis-Retrieval 提示驱动 LLM 进行程序综合,使自然语言命令可转译为 Office API 并执行,重点探索 PowerPoint 场景。

摘要:

我们提出 Semantic Interpreter,这是一个面向 Microsoft Office 等生产力软件、对自然语言友好的 AI 系统,利用大语言模型(LLM)跨应用功能执行用户意图。虽然 LLM 非常擅长理解以自然语言表达的用户意图,但它们不足以实现需要超越文本到文本转换的、特定于应用的用户意图。因此,我们引入 Office Domain Specific Language(ODSL),这是一种简洁的高级语言,专门用于在 Office 应用程序中执行操作并与其中的实体交互。Semantic Interpreter 将 Analysis-Retrieval 提示构造方法与 LLM 结合用于程序综合,把自然语言用户话语翻译为可转译到应用程序 API 并随后执行的 ODSL 程序。我们的讨论主要聚焦于针对 Microsoft PowerPoint 的研究探索。

英文摘要:

We present Semantic Interpreter, a natural language-friendly AI system for productivity software such as Microsoft Office that leverages large language models (LLMs) to execute user intent across application features. While LLMs are excellent at understanding user intent expressed as natural language, they are not sufficient for fulfilling application-specific user intent that requires more than text-to-text transformations. We therefore introduce the Office Domain Specific Language (ODSL), a concise, high-level language specialized for performing actions in and interacting with entities in Office applications. Semantic Interpreter leverages an Analysis-Retrieval prompt construction method with LLMs for program synthesis, translating natural language user utterances to ODSL programs that can be transpiled to application APIs and then executed. We focus our discussion primarily on a research exploration for Microsoft PowerPoint.

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

↑