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

基于AI的JSON模式创建与映射

AI-assisted JSON Schema Creation and Mapping

University of Stuttgart(斯图加特大学)

Felix Neubauer, Jürgen Pleiss, Benjamin Uekermann

AI总结:

本文提出结合大型语言模型与确定性技术的混合方法,用于基于自然语言输入的JSON模式创建、修改和映射,降低非专家在结构化数据建模与集成中的门槛。

摘要:

模型驱动工程(MDE)将模型置于系统和数据工程过程的核心。在研究数据的背景下,这些模型通常以模式的形式表达,用以定义数据集的结构和语义。然而,许多领域仍然缺乏标准化的模型,创建这些模型仍然是一个重大障碍,尤其是对于非专家而言。我们提出了一种混合方法,结合大型语言模型(LLMs)与确定性技术,以实现基于自然语言输入的JSON模式创建、修改和模式映射。这些能力被集成到开源工具MetaConfigurator中,该工具已提供视觉模型编辑、验证、代码生成和表单生成功能。在数据集成方面,我们利用LLMs从异构的JSON、CSV、XML和YAML数据生成模式映射,同时通过确定性执行生成的映射规则来确保可扩展性和可靠性。我们的工作在化学领域的一个应用示例中得到了验证。通过将自然语言交互与确定性保障相结合,这项工作显著降低了非专家在结构化数据建模和数据集成方面的障碍。

英文摘要:

Model-Driven Engineering (MDE) places models at the core of system and data engineering processes. In the context of research data, these models are typically expressed as schemas that define the structure and semantics of datasets. However, many domains still lack standardized models, and creating them remains a significant barrier, especially for non-experts. We present a hybrid approach that combines large language models (LLMs) with deterministic techniques to enable JSON Schema creation, modification, and schema mapping based on natural language inputs by the user. These capabilities are integrated into the open-source tool MetaConfigurator, which already provides visual model editing, validation, code generation, and form generation from models. For data integration, we generate schema mappings from heterogeneous JSON, CSV, XML, and YAML data using LLMs, while ensuring scalability and reliability through deterministic execution of generated mapping rules. The applicability of our work is demonstrated in an application example in the field of chemistry. By combining natural language interaction with deterministic safeguards, this work significantly lowers the barrier to structured data modeling and data integration for non-experts.

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

↑