评估公共交通服务的质量需要分析大量关于计划与实际行程的数据,以及列出每项服务需满足的质量约束的文档。对于大多数用户而言,使用 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.
Citation-Enhanced Generation for LLM-based Chatbots
Tsinghua University(清华大学);Institute for AI Industry Research (AIR), Tsinghua University(清华大学人工智能产业研究院);Jiangsu Collaborative Innovation Center for Language Competence(江苏省语言能力协同创新中心)
Towards Safer Chatbots: Automated Policy Compliance Evaluation of Custom GPTs
Information Processing and Telecommunications Center Universidad Politécnica de Madrid ETSI Telecomunicación(信息处理与电信中心西班牙马德里理工大学电信工程学院);King’s College London(伦敦国王学院);INGENIO (CSIC-Universitat Politècnica de València)(INGENIO(西班牙国家研究委员会-瓦伦西亚理工大学))
Developing and evaluating a chatbot to support maternal health care
Carnegie Mellon University(卡内基梅隆大学);Population Council Institute(人口理事会研究所);Sitaram Bhartia Institute of Science and Research(西塔拉姆·巴提亚科学与研究研究所);Nivi, Inc.(Nivi公司)
Do AI chatbots find what experts would? Effects of model, user role, and sample size on study retrieval for medical questions
National Institute on Drug Abuse(国家药物滥用研究所);National Institutes of Health(美国国立卫生研究院);National Library of Medicine(国家医学图书馆);School of Information Sciences, University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校信息科学学院)
Supporting Student Decisions on Learning Recommendations: An LLM-Based Chatbot with Knowledge Graph Contextualization for Conversational Explainability and Mentoring
A Checklist for Trustworthy, Safe, and User-Friendly Mental Health Chatbots
University of Illinois Urbana-Champaign, Urbana, United States(伊利诺伊大学厄巴纳-香槟分校);Indiana University Indianapolis, Indianapolis, United States(印第安纳大学印第安纳波利斯分校)
Why So Toxic? Measuring and Triggering Toxic Behavior in Open-Domain Chatbots
CISPA Helmholtz Center for Information Security(CISPA亥姆霍兹信息安全中心);Binghamton University(宾汉姆顿大学);University College London(伦敦大学学院);Boston University(波士顿大学);TU Delft(代尔夫特理工大学)
Pchatbot: A Large-Scale Dataset for Personalized Chatbot
Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学高瓴人工智能学院);School of Information, Renmin University of China(中国人民大学信息学院);Université de Montréal(蒙特利尔大学)
StoryBuddy: A Human-AI Collaborative Chatbot for Parent-Child Interactive Storytelling with Flexible Parental Involvement
University of Notre Dame(圣母大学);University of California, Irvine(加州大学欧文分校);Georgia Institute of Technology(佐治亚理工学院);Rensselaer Polytechnic Institute(伦斯勒理工学院);University of Washington(华盛顿大学);IBM Research(IBM研究院)
WildVis: Open Source Visualizer for Million-Scale Chat Logs in the Wild
Cornell University(康奈尔大学);Samaya AI(萨马亚人工智能公司);University of Southern California(南加利福尼亚大学);University of Washington(华盛顿大学);University of Waterloo(滑铁卢大学);Nvidia(英伟达公司)