SpeCrawler:使用大型语言模型从API文档生成OpenAPI规范
SpeCrawler: Generating OpenAPI Specifications from API Documentation Using Large Language Models
AI总结:
本文提出SpeCrawler系统,利用大型语言模型通过精心设计的流程从多样化的API文档生成OpenAPI规范,解决了基于规则方法难以泛化的问题,简化了API集成与工具纳入LLMs的过程。
摘要:
在数字时代,API的广泛使用是显而易见的。然而,由于在线API文档中存在的结构差异,API的可扩展利用面临挑战。这凸显了对自动化工具以促进API消费的需求。一种可行的方法是将文档转换为API规范格式。虽然之前曾尝试使用基于规则的方法,但这些方法在跨不同文档进行泛化时遇到了困难。在本文中,我们介绍了SpeCrawler,这是一个综合系统,利用大型语言模型(LLMs)通过精心设计的流程从多样化的API文档生成OpenAPI规范。通过为众多API创建标准化格式,SpeCrawler有助于简化API编排系统内的集成过程,并促进将工具纳入LLMs。本文探讨了SpeCrawler的方法论,并得到了实证证据和案例研究的支持,通过LLM的能力展示了其有效性。
英文摘要:
In the digital era, the widespread use of APIs is evident. However, scalable utilization of APIs poses a challenge due to structure divergence observed in online API documentation. This underscores the need for automatic tools to facilitate API consumption. A viable approach involves the conversion of documentation into an API Specification format. While previous attempts have been made using rule-based methods, these approaches encountered difficulties in generalizing across diverse documentation. In this paper we introduce SpeCrawler, a comprehensive system that utilizes large language models (LLMs) to generate OpenAPI Specifications from diverse API documentation through a carefully crafted pipeline. By creating a standardized format for numerous APIs, SpeCrawler aids in streamlining integration processes within API orchestrating systems and facilitating the incorporation of tools into LLMs. The paper explores SpeCrawler's methodology, supported by empirical evidence and case studies, demonstrating its efficacy through LLM capabilities.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。