Next Article in Journal
Natural Antioxidant Boosters for Honey: Effects of Portulaca oleracea and Salicornia perennans Powders and Extracts
Previous Article in Journal
Prototype-Guided Zero-Shot Medical Image Segmentation with Large Vision-Language Models
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
Article

Multi-Layer Prompt Engineering for Intent Recognition in Travel Planning Assistants

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.
Keywords: intent recognition; multi-layer prompt engineering; large language model; travel assistant intent recognition; multi-layer prompt engineering; large language model; travel assistant

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

Back to TopTop