Weekend Genie: An AI-Powered Personalized Travel Itinerary Generation System Using Large Language Models
Keywords:
Full-Stack web application, Groq API, Large language models, LLaMA 3.3, Personalized recommendation systems, Prompt engineering, Travel itinerary generationAbstract
Automated travel planning using Large Language Models (LLMs) is a more dynamic and innovative solution than conventional online travel agencies and manual, time-consuming curation, offering a more intelligent personal assistant. This paper presents an end-to-end Artificial Intelligence-based system for generating a travel itinerary, Weekend Genie, for a weekend trip to various travel destinations in India using LLaMA 3.3 70B Versatile with Groq base inference engine, which generates a highly structured, context-rich and cost-effective travel itinerary. Once simple parameters like total budget, group size, origin, and travel dates have been entered, the user gets a complete multi-day itinerary, which includes optimized recommendations for accommodation and meals, based on the origin of the group, cultural offers, and hidden spots. Architecturally, Weekend Genie has a modern decoupled software stack that couples the front-end, in JavaScript (React 18 and TypeScript), a backend, in a RESTful API (Express.js 5), and a state management mechanism (Redux) with a JSON-schemas (generated from an engineered prompt) for session security and constrained data, all of which are backed by a MongoDB (document) store for user profiles, stored trip histories, etc. The generation latency from end to end is 3-8 seconds, and 89% of all the experiments follow the JSON schema, with 97% enforcing budget compliance. Weekend Genie also performs better than other commercial and academic AI-based travel planning tools on four metrics: structural results, local relevance and reliability, price accuracy, and travel itinerary generation. All of the code is open-sourced so that it can be used as a production-ready reference implementation for applications that use LLMs.
References
J. Achiam, S. Adler, S. Agarwal, L. Ahmad, I. Akkaya, F. L. Aleman, D. Almeida, J. Altenschmidt, S. Altman, S. Anadkat, and R. Avila, “GPT-4 technical report,” arXiv preprint arXiv:2303.08774, Mar. 15, 2023.
H. Touvron, L. Martin, K. Stone, P. Albert, A. Almahairi, Y. Babaei, N. Bashlykov, S. Batra, P. Bhargava, S. Bhosale, and D. Bikel, “Llama 2: Open foundation and fine-tuned chat models,” arXiv preprint arXiv:2307.09288, Jul. 18, 2023.
Road Genius, “India tourism statistics,” Jul. 13, 2025.
K. H. Lim, J. Chan, C. Leckie, and S. Karunasekera, “Personalized trip recommendation for tourists based on user interests, points of interest visit durations and visit recency,” Knowledge and Information Systems, vol. 54, no. 2, pp. 375–406, Feb. 2018.
Z. Zhang, J. Chen, X. Zhao, Y. Gong, J. Ren, and J. Ouyang, “A hypergraph structure-based aggregation network for next POI recommendation,” IEEE Access, vol. 12, pp. 164878–164890, Nov. 2024.
N. L. Ho and K. H. Lim, “PoiBERT: A transformer-based model for the tour recommendation problem,” In Proceedings of the 2022 IEEE International Conference on Big Data (Big Data), Dec. 2022, pp. 5925–5933.
Y. Su, F. He, and Y. Wang, “A retrieval-enhanced transformer for multi-step port-of-call sequence prediction in global liner shipping,” arXiv preprint arXiv:2605.15937, May 15, 2026.
G. V. Aher, R. I. Arriaga, and A. T. Kalai, “Using large language models to simulate multiple humans and replicate human subject studies,” ICML'23: Proceedings of the 40th International Conference on Machine Learning, Jul. 2023, pp. 337–371.
S. Yao, J. Zhao, D. Yu, N. Du, I. Shafran, K. Narasimhan, and Y. Cao, “ReAct: Synergizing reasoning and acting in language models,” arXiv preprint arXiv:2210.03629, Oct. 6, 2022.
J. White, Q. Fu, S. Hays, M. Sandborn, C. Olea, H. Gilbert, A. Elnashar, J. Spencer-Smith, and D. C. Schmidt, “A prompt pattern catalog to enhance prompt engineering with ChatGPT,” arXiv preprint arXiv:2302.11382, Feb. 2023.
T. Shin, Y. Razeghi, R. L. I. V., E. Wallace, and S. Singh, “AutoPrompt: Eliciting knowledge from language models with automatically generated prompts,” Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), Nov. 2020, pp. 4222–4235.
J. Liu, A. Liu, X. Lu, S. Welleck, P. West, R. Le Bras, Y. Choi, and H. Hajishirzi, “Generated knowledge prompting for commonsense reasoning,” Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics, vol. 1, May 2022, pp. 3154–3169.
D. Dash, R. Thapa, J. M. Banda, A. Swaminathan, M. Cheatham, M. Kashyap, N. Kotecha, J. H. Chen, S. Gombar, L. Downing, and R. Pedreira, “Evaluation of GPT-3.5 and GPT-4 for supporting real-world information needs in healthcare delivery,” arXiv preprint arXiv:2304.13714, Apr. 26, 2023.
D. Guru and S. R. Subramaniam, "SmartTrip: An AI-Powered Travel Planning Platform with Intelligent Agent Support, Voice and Multilingual Capabilities," SoutheastCon 2026, Huntsville, AL, USA, Feb 2026, pp. 1-6.
P. Virutamasen, N. Ahadi, J. Wang, A. G. Zanjanab, K. Wongpreedee, and N. Sohaee, “Contextual based e-tourism application: A personalized attraction recommendation system for destination branding and cultivating tourism experiences,” 2024 5th Technology Innovation Management and Engineering Science International Conference (TIMES-iCON), Jun. 2024, pp. 1–5.
Meta AI, “Introducing Meta Llama 3: The most capable openly available LLM to date,” Apr. 18, 2024.
A. Sharma and N. Khilji, “Ultra Sapient Inference Engine,” in Proc. 2016 3rd International Conference on Computing for Sustainable Global Development (INDIACom), Mar. 2016, pp. 240–243.
H. Ahmed, H. Nguyen, A. Ghaffari, E. Gilman, and L. Lovén, “Past to Plan: LLM-powered personalized travel via mobility patterns,” 2016 3rd International Conference on Computing for Sustainable Global Development (INDIACom), Dec. 2025, pp. 7652–7661.
A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A. N. Gomez, Ł. Kaiser, and I. Polosukhin, “Attention is all you need,” In Advances in Neural Information Processing Systems, vol. 30, Jun. 2017.
N. Kousika, “A retrieval-grounded multi-agent framework for intelligent personalized itinerary planning,” Proceedings of the 2026 6th International Conference on Pervasive Computing and Social Networking (ICPCSN), May 2026, pp. 879–885.