2025-08-20 · 专家 · 机器学习 · 自然语言处理

Prompt Orchestration Markup Language

POML(Prompt Orchestration Markup Language)是一种新型的标记语言,旨在解决当前提示工程中的挑战,通过组件化结构、数据集成、样式系统和模板引擎,提高提示工程的可维护性、可重用性和效率。

更新于 2025-08-22。作者:Yuge Zhang、Nan Chen、Jiahang Xu、Yuqing Yang。

中文摘要

大型语言模型(LLMs)需要复杂的提示,但当前实践在结构、数据整合、格式敏感性和工具方面面临挑战。现有方法缺乏对涉及多种数据类型(文档、表格、图像)的复杂提示进行组织或系统化管理解决方案。为了解决这些差距,我们引入了POML(提示编排标记语言)。POML采用基于组件的标记来处理逻辑结构(角色、任务、示例),使用专用标签来实现无缝数据整合,并采用类似于CSS的样式系统来将内容与展示分离,降低格式敏感性。它包括动态提示的模板以及一个全面的开发者工具包(IDE支持、SDKs),以改善版本控制和协作。我们通过两个案例研究验证了POML,展示了它在复杂应用集成(PomLink)和准确性性能(TableQA)方面的影响,以及一项用户研究评估了它在实际开发场景中的有效性。

英文摘要

Large Language Models (LLMs) require sophisticated prompting, yet current practices face challenges in structure, data integration, format sensitivity, and tooling. Existing methods lack comprehensive solutions for organizing complex prompts involving diverse data types (documents, tables, images) or managing presentation variations systematically. To address these gaps, we introduce POML (Prompt Orchestration Markup Language). POML employs component-based markup for logical structure (roles, tasks, examples), specialized tags for seamless data integration, and a CSS-like styling system to decouple content from presentation, reducing formatting sensitivity. It includes templating for dynamic prompts and a comprehensive developer toolkit (IDE support, SDKs) to improve version control and collaboration. We validate POML through two case studies demonstrating its impact on complex application integration (PomLink) and accuracy performance (TableQA), as well as a user study assessing its effectiveness in real-world development scenarios.

解读

一句话总结

POML(Prompt Orchestration Markup Language)是一种新型的标记语言,旨在解决当前提示工程中的挑战,通过组件化结构、数据集成、样式系统和模板引擎,提高提示工程的可维护性、可重用性和效率。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt