arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2505.22698cs.AI
收藏

支持基于公共交通数据进行决策的智能体聊天机器人的设计与测试

Design and testing of an agent chatbot supporting decision making with public transport data

University of Padova(帕多瓦大学);Motion Analytica s.r.l.(Motion Analytica公司);beanTech s.r.l.(beanTech公司)

Luca Fantin, Marco Antonelli, Margherita Cesetti, Daniele Irto, Bruno Zamengo, Francesco Silvestri

AI总结:

本文设计并测试了一款基于智能体架构的公共交通数据决策支持聊天机器人,利用 LLM 结合 SQL 查询与可视化工具解决用户复杂数据交互问题,并构建了数据集评估其回答一致性与查询正确性。

摘要:

评估公共交通服务的质量需要分析大量关于计划与实际行程的数据,以及列出每项服务需满足的质量约束的文档。对于大多数用户而言,使用 SQL 查询来查询此类数据集,以及组织和可视化数据,可能相当复杂。本文提出了一款聊天机器人,提供了一个用户友好的工具来与这些数据集进行交互并支持决策。它基于智能体架构,通过允许核心大型语言模型(LLM)与一系列可执行多项任务的工具进行交互,扩展了其能力,这些任务包括执行 SQL 查询、绘制数据以及根据行程及其站点的坐标创建地图。本文还解决了此类生成式 AI 项目的主要开放问题之一:收集数据以衡量系统的性能。我们的聊天机器人经过了一个工作流的广泛测试,该工作流会提出若干问题,并为每个问题存储生成的查询、检索到的数据和自然语言响应。这些问题取自一组基础示例,随后用数据库中的实际数据对其进行补充。该过程生成了一个数据集,用于评估聊天机器人的性能,特别是其回答的一致性和生成查询的正确性。

英文摘要:

Assessing the quality of public transportation services requires the analysis of large quantities of data on the scheduled and actual trips and documents listing the quality constraints each service needs to meet. Interrogating such datasets with SQL queries, organizing and visualizing the data can be quite complex for most users. This paper presents a chatbot offering a user-friendly tool to interact with these datasets and support decision making. It is based on an agent architecture, which expands the capabilities of the core Large Language Model (LLM) by allowing it to interact with a series of tools that can execute several tasks, like performing SQL queries, plotting data and creating maps from the coordinates of a trip and its stops. This paper also tackles one of the main open problems of such Generative AI projects: collecting data to measure the system's performance. Our chatbot has been extensively tested with a workflow that asks several questions and stores the generated query, the retrieved data and the natural language response for each of them. Such questions are drawn from a set of base examples which are then completed with actual data from the database. This procedure yields a dataset for the evaluation of the chatbot's performance, especially the consistency of its answers and the correctness of the generated queries.

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

↑