用于以自然语言查询LandMatrix数据库的AI模型适配
计算与语言
2024-12-18 v1
摘要
Land Matrix倡议(https://landmatrix.org)及其全球观测站旨在提供关于大规模土地收购的可靠数据,为低收入和中等收入国家农业、采掘或能源等领域的辩论和行动提供信息。尽管这些数据在学术界得到认可,但在公共政策中仍未得到充分利用,这主要是由于访问和利用的复杂性,需要技术专长和对数据库模式的良好理解。本工作的目标是简化对不同数据库系统数据的访问。本文提出的方法使用Land Matrix的数据进行评估。本文展示了大型语言模型(LLM)以及LLM适配组合(提示工程、RAG、智能体)在查询不同数据库系统(GraphQL和REST查询)方面的各种比较。实验是可复现的,在线演示地址:https://github.com/tetis-nlp/landmatrix-graphql-python。
引用
@article{arxiv.2412.12961,
title = {Adaptations of AI models for querying the LandMatrix database in natural language},
author = {Fatiha Ait Kbir and Jérémy Bourgoin and Rémy Decoupes and Marie Gradeler and Roberto Interdonato},
journal= {arXiv preprint arXiv:2412.12961},
year = {2024}
}