Multi-Layer Prompt Engineering for Intent Recognition in Travel Planning Assistants
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.
Authors
- Yijin Huang
- L. Ma
- Yapeng Wang (ORCID: https://orcid.org/0000-0002-1085-5091)
Institutions
- Macao Polytechnic University (MO)
Publication Details
- Journal
- Applied Sciences
- Published
- 2025-10-26
- DOI
- https://doi.org/10.3390/app152111442
- Primary Topic
- Multimodal Machine Learning Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00