Agentic DraCor 与 docstring 工程艺术:评估由 MCP 赋能的 LLM 使用 DraCor API
软件工程
2025-08-20 v1 人工智能
摘要
本文报告了针对 DraCor 实施和评估的 Model Context Protocol (MCP) 服务器的开发,这使大型语言模型 (LLM) 能够自主与 DraCor API 交互。我们聚焦于 LLM 对工具选择和应用的实验,采用定性方法,包括系统观察提示,以理解 LLM 使用 MCP 工具时的行为,评估“工具正确性”、“工具调用效率”和“工具使用可靠性”。我们的发现突显了“Docstring 工程”的重要性,后者定义为反思性地构建工具文档以优化 LLM 工具间的交互。我们的实验既展示了 agentic AI 为计算文学研究所潜力,也强调了可靠数字人文基础设施所需的基础设施开发需求。
引用
@article{arxiv.2508.13774,
title = {Agentic DraCor and the Art of Docstring Engineering: Evaluating MCP-empowered LLM Usage of the DraCor API},
author = {Peer Trilcke and Ingo Börner and Henny Sluyter-Gäthje and Daniil Skorinkin and Frank Fischer and Carsten Milling},
journal= {arXiv preprint arXiv:2508.13774},
year = {2025}
}
备注
Preprint, submitted to the 2nd Workshop on Computational Drama Analysis at DraCor Summit 2025, September 03, 2025, Berlin, Germany