,
Adriano Lopes
,
Fernando Brito e Abreu
Creative Commons Attribution 4.0 International license
The accessibility of Smart Tourism Initiatives and Tools (STITs) is a cornerstone of digital transformation in the tourism sector. The EUROSTIT project addresses this through a European Observatory that catalogs these technologies. However, sifting through hundreds of results remains a significant challenge for users. This paper presents a specialized conversational agent that facilitates discovery through a filter-based natural language interface. Departing from computationally intensive fine-tuning, our architecture uses prompt engineering - specifically, one-shot Chain-of-Thought (CoT) reasoning - to generate boolean search queries (BSQs). This approach enables the system to distinguish conversational fillers and other irrelevant terms from domain-specific smart tourism entities, autonomously translating free-text into structured database queries. We describe a dynamic web application with a synchronized user experience where conversational input acts as cumulative filters. The performance of different LLMs is compared through various metrics. We conducted quantitative evaluations to gain insight into the feasibility of using readily available commercial LLMs, instead of resource-heavy model fine-tuning for domain-specific boolean search query generation.
@InProceedings{bravosimoes_et_al:OASIcs.SLATE.2026.17,
author = {Bravo Sim\~{o}es, Rodrigo and Lopes, Adriano and Brito e Abreu, Fernando},
title = {{From Natural Language to Structured Queries: An LLM-Powered Chatbot for a Smart Tourism Observatory}},
booktitle = {15th Symposium on Languages, Applications and Technologies (SLATE 2026)},
pages = {17:1--17:11},
series = {Open Access Series in Informatics (OASIcs)},
ISBN = {978-3-95977-440-6},
ISSN = {2190-6807},
year = {2026},
volume = {144},
editor = {Batista, Fernando and Ribeiro, Eug\'{e}nio and Ribeiro, Ricardo and Santos, Andr\'{e} L.},
publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
address = {Dagstuhl, Germany},
URL = {https://drops.dagstuhl.de/entities/document/10.4230/OASIcs.SLATE.2026.17},
URN = {urn:nbn:de:0030-drops-267152},
doi = {10.4230/OASIcs.SLATE.2026.17},
annote = {Keywords: Large Language Models (LLMs), Prompt Engineering, Chain-of-Thought (CoT), Boolean Search Query (BSQ) Generation, Natural Language Interfaces (NLI), Smart Tourism, Chatbots}
}