arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.14871cs.CLcs.AIcs.HC
收藏

基于LLM的多智能体从公共行政领域语义模板生成半结构化文档

LLM Based Multi-Agent Generation of Semi-structured Documents from Semantic Templates in the Public Administration Domain

Sapienza University of Rome(罗马第一大学)

Emanuele Musumeci, Michele Brienza, Vincenzo Suriani, Daniele Nardi, Domenico Daniele Bloisi

AI总结:

本文提出将LLM、提示工程与多智能体系统结合,用语义检索生成的任务描述替代人工提示,从语义模板自动生成符合结构的公共行政半结构化文档,并通过实验验证其有效性。

摘要:

在过去几年的数字化进程中,各领域尤其是公共行政(PA)领域的文档创建和管理变得越来越复杂和多样。这种复杂性源于需要处理种类繁多的文档类型,这些文档通常以半结构化形式为特征。半结构化文档呈现一组固定的数据,但没有固定的格式。因此,基于模板的解决方案无法使用,因为理解文档需要提取其数据结构。近年来引入的大型语言模型(LLMs)使得生成满足用户请求的定制化文本输出成为可能。在这项工作中,我们提出了一种新颖的方法,将LLMs与提示工程和多智能体系统相结合,用于生成符合所需结构的新文档。这项工作的主要贡献在于用通过LLM语义检索生成的任务描述来替代通常使用的人工提示。通过一系列实验和案例研究,我们展示了该方法的潜力,证明了其在真实世界公共行政场景中的有效性。

英文摘要:

In the last years' digitalization process, the creation and management of documents in various domains, particularly in Public Administration (PA), have become increasingly complex and diverse. This complexity arises from the need to handle a wide range of document types, often characterized by semi-structured forms. Semi-structured documents present a fixed set of data without a fixed format. As a consequence, a template-based solution cannot be used, as understanding a document requires the extraction of the data structure. The recent introduction of Large Language Models (LLMs) has enabled the creation of customized text output satisfying user requests. In this work, we propose a novel approach that combines the LLMs with prompt engineering and multi-agent systems for generating new documents compliant with a desired structure. The main contribution of this work concerns replacing the commonly used manual prompting with a task description generated by semantic retrieval from an LLM. The potential of this approach is demonstrated through a series of experiments and case studies, showcasing its effectiveness in real-world PA scenarios.

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

↑