This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
Open AccessArticle
Multi-Layer Prompt Engineering for Intent Recognition in Travel Planning Assistants
by
Yijin Huang
Yijin Huang
,
Lanlan Ma
Lanlan Ma
and
Yapeng Wang
Yapeng Wang *
Faculty of Applied Sciences, Macao Polytechnic University, R. de Luís Gonzaga Gomes, Macao, China
*
Author to whom correspondence should be addressed.
Appl. Sci. 2025, 15(21), 11442; https://doi.org/10.3390/app152111442 (registering DOI)
Submission received: 31 August 2025
/
Revised: 25 September 2025
/
Accepted: 23 October 2025
/
Published: 26 October 2025
Abstract
Current travel planning tools suffer from information fragmentation, requiring users to switch between multiple apps for maps, weather, hotels, and other services, which creates a disjointed user experience. While Large Language Models (LLMs) show promise in addressing these challenges through unified interfaces, they still face issues with hallucinations and accurate intent recognition that require further research. To overcome these limitations, we propose a multi-layer prompt engineering framework for enhanced intent recognition that progressively guides the model to understand user needs while integrating real-time data APIs to verify content accuracy and reduce hallucinations. Our experimental results demonstrate significant improvements in intent recognition accuracy compared to traditional approaches. Based on this algorithm, we developed a Flask-based travel planning assistant application that provides users with a comprehensive one-stop service, effectively validating our method’s practical applicability and superior performance in real-world scenarios.
Share and Cite
MDPI and ACS Style
Huang, Y.; Ma, L.; Wang, Y.
Multi-Layer Prompt Engineering for Intent Recognition in Travel Planning Assistants. Appl. Sci. 2025, 15, 11442.
https://doi.org/10.3390/app152111442
AMA Style
Huang Y, Ma L, Wang Y.
Multi-Layer Prompt Engineering for Intent Recognition in Travel Planning Assistants. Applied Sciences. 2025; 15(21):11442.
https://doi.org/10.3390/app152111442
Chicago/Turabian Style
Huang, Yijin, Lanlan Ma, and Yapeng Wang.
2025. "Multi-Layer Prompt Engineering for Intent Recognition in Travel Planning Assistants" Applied Sciences 15, no. 21: 11442.
https://doi.org/10.3390/app152111442
APA Style
Huang, Y., Ma, L., & Wang, Y.
(2025). Multi-Layer Prompt Engineering for Intent Recognition in Travel Planning Assistants. Applied Sciences, 15(21), 11442.
https://doi.org/10.3390/app152111442
Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details
here.
Article Metrics
Article Access Statistics
For more information on the journal statistics, click
here.
Multiple requests from the same IP address are counted as one view.