HERITAGE EXPLORER – TN WITH CHATBOT
USING ARTIFICIAL INTELLIGENCE
A PROJECT REPORT
Submitted by
PARAMESHWARAN R (720721104129)
PRIYANKA A (720721104138)
RISHI RAAM N S (720721104150)
RUBA RENUGAVATHI A (720721104151)
In partial fulfilment for the award of the degree
of
BACHELOR OF ENGINEERING
in
COMPUTER SCIENCE AND ENGINEERING
HINDUSTHAN COLLEGE OF ENGINEERING AND TECHNOLOGY
Approved by AICTE, New Delhi, Accredited with ‘A++’ Grade by NAAC, Accredited by
NBA (An Autonomous Institution, Affiliated to Anna University, Chennai) Valley
Campus, Pollachi Highway, Coimbatore – 641 032
APRIL & 2025
Hindusthan College of Engineering and Technology
Approved by AICTE, New Delhi, Accredited with ‘A++’ Grade by NAAC, Accredited by
NBA (An Autonomous Institution, Affiliated to Anna University, Chennai) Valley
Campus, Pollachi Highway, Coimbatore – 641 032
BONAFIDE CERTIFICATE
Certified that this project report “HERITAGE EXPLORER-TN WITH
CHATBOT USING ARTIFICIAL INTELLIGENCE” is the Bonafide work of
“PARAMESHWARAN R (720721104129), PRIYANKA A (720721104138),
RISHI RAAM N S (720721104150), RUBA RENUGAVATHI A
(720721104151)” who carried out the project work under my supervision.
SIGNATURE SIGNATURE
Dr. S. SHANKAR, M.E., Ph.D., Dr. S. KOUSALYA DEVI, M.E., Ph.D
HEAD OF THE DEPARTMENT ASSOCIATE PROFESSOR
Department of Computer Science and Department of Computer Science and
Engineering, Engineering,
Hindusthan College of Engineering and Hindusthan College of Engineering and
Technology, Coimbatore Technology, Coimbatore
Submitted for the Autonomous Institution Project Viva-Voce conducted on
INTERNAL EXAMINAR EXTERNAL EXAMINAR
i
DECLARATION
We hereby jointly declare that the project work entitled “HERITAGE
EXPLORER-TN WITH CHATBOT USING ARTIFICIAL
INTELLIGENCE”, submitted to the Autonomous Institution Project Viva voce-
April 2025 in partial fulfilment for the award of the degree of “ BACHELOR OF
ENGINEERING IN COMPUTER SCIENCE AND ENGINEERING“, is the
report of the original project work done by us under the guidance of
[Link] DEVI, M.E, Ph.D., Associate Professor, Department of
Computer Science and Engineering, Hindusthan College of Engineering and
Technology, Coimbatore.
NAME SIGNATURE
PARAMESHWARAN R
PRIYANKA A
RISHI RAAM N S
RUBA RENUGAVATHI A
I certify that the declaration made by the above candidates are true.
Project Guide,
DR. S. KOUSALYA DEVI, M.E., Ph.D.,
Associate Professor,
Department of CSE,
Hindusthan College of Engineering and
Technology, Coimbatore-641 032
ii
ACKNOWLEDGEMENT
We take this opportunity to express our wholehearted thanks and profound
respect to all those who guided and inspired us in the completion of this project
work.
We extend our sincere thanks to the Founder and Chairman of Hindusthan
Educational and Charitable Trust, Shri. T.S.R. KHANNAIYANN, the Secretary,
Smt. T.R.K. SARASUWATHI, and the Executive Secretary, Dr. K. PRIYA, for
providing essential infrastructure.
We would like to express our profound thanks to our respected Principal,
Dr. J. JAYA, who has been a driving force in all our endeavours. We would like
to express our gratitude to the Head of the Department, Dr. S. SHANKAR, for
enabling the successful completion of the project and for reinforcing our hope.
We would like to express our sincere and genuine appreciation to our
Project Guide, Dr. S. KOUSALYA DEVI, Associate Professor, for her
exceptional guidance, constant support, and valuable insights throughout the
duration of this project.
We express our immense pleasure and gratitude to our Class Advisor and
Project Coordinator, Mrs. M. AMUTHA VALLI, Assistant Professor, for her
expert supervision and consistent encouragement during the course of this
project.
We express our immense pleasure and thankfulness to all our faculty
members of the Department of Computer Science and Engineering, technical
staff, and friends who helped us achieve the successful completion of this project.
We also express our heartfelt thanks to our family members, who encouraged and
supported us during the challenges we encountered throughout this journey.
iii
ABSTRACT
Heritage Explorer – TN (பாரம்பரிய இடம் காட்டி) is an innovative, web-
based platform designed to revolutionize heritage tourism in Tamil Nadu by
bridging the gap between cultural preservation and modern technology. Targeting
both domestic and international tourists, the application leverages AI-powered
chatbots, real-time geolocation tracking and cloud-based infrastructure to
deliver immersive, personalized and accessible experiences at historical sites.
The platform addresses critical challenges faced by travellers, such as the
lack of real-time interactive information, language barriers, and fragmented
historical insights. By integrating location-based recommendations, users receive
dynamic suggestions for nearby heritage sites. The AI chatbot, built using
OpenAI’s API, acts as a virtual assistant, providing instant answers to queries,
historical facts, navigation support, and practical travel details like transport
options and entry fees.
Key features include a responsive user interface (built with React,
TypeScript, and [Link]), collaborative content management (enabling historians
and cultural experts to upload verified information), and an admin dashboard for
analytics, content updates, and system monitoring. The cloud backend securely
stores user data, chatbot knowledge, and heritage site content, ensuring scalability
and reliability.
iv
TABLE OF CONTENTS
CHAPTER NO TITLE PAGE NO
ABSTRACT iii
LIST OF FIGURES v
LIST OF ABBREVIATIONS vi
1 INTRODUCTION 1
2 LITERATURE REVIEW 2
3 SYSTEM ANALYSIS 12
3.1 Existing System 12
3.2 Proposed System 13
4 SYSTEM REQUIREMENTS 15
4.1 Hardware Requirements 15
4.2 Software Requirements 15
5 MODULES 16
6 SYSTEM DESIGN 18
7 ALGORITHM 23
8 CONCLUSION AND FUTURE
ENHANCEMENT 24
9 APPENDIX 25
8.1 Source Code 25
8.2 Output 34
10 REFERENCE 36
v
LIST OF FIGURES
FIG NO. FIGURE NAME PAGE NO.
1 Data Flow Diagram 11
2 Work Flow Diagram 12
3 Home Page 16
4 Discover Page 16
5 Get Directions 17
6 Chatbot 17
vi
LIST OF ABBREVIATIONS
TN Tamil Nadu
AI Artificial Intelligence
NLP Natural Language Processing
TTS Text to Speech
STT Speech to Text
GPS Global Positioning System
AR Augmented Reality
SVM Support Vector Machine
KNN K-Nearest Neighbour’s
AIML Artificial Intelligence Markup Language
IDE Integrated Development Environment
vii
CHAPTER 1
INTRODUCTION
Tamil Nadu, a land steeped in cultural legacy and historical grandeur,
attracts millions of tourists annually to its UNESCO World Heritage Sites, ancient
temples, and architectural marvels. However, visitors often grapple with
fragmented information, language barriers, and impersonalized experiences,
limiting their ability to fully engage with the region’s heritage. Addressing these
challenges, Heritage Explorer-TN emerges as an innovative web-based platform
designed to revolutionize heritage tourism through cutting-edge technology. This
AI-driven solution integrates real-time location tracking, chatbots and cloud-
based collaboration to deliver dynamic, personalized guidance tailored to each
traveller’s interests.
By offering context-aware historical insights, interactive maps, and
practical travel assistance, the platform bridges the gap between Tamil Nadu’s
rich cultural heritage and modern tourists’ expectations for immersive, accessible
experiences. Beyond enhancing visitor satisfaction, Heritage Explorer-TN fosters
sustainable tourism by promoting lesser-known sites, supporting local
economies, and preserving cultural narratives through collaborative contributions
from historians and communities. As a beacon of technological innovation, it not
only elevates tourism but also deepens global appreciation for Tamil Nadu’s
timeless legacy, ensuring its stories endure for future generations.
Built with React, TypeScript, and [Link], the platform ensures a
responsive, user-friendly interface. A secure cloud backend enables historians to
contribute verified content, while an admin dashboard streamlines content
updates and analytics. Designed for diverse user’s travellers, researchers,
bloggers, and tourism businesses it fosters deeper engagement with Tamil Nadu’s
heritage.
1
CHAPTER 2
LITERATURE REVIEW
1. A. Kirilenko and S. Stepchenkova, "Tell me more: integrating LLMs in a
cultural heritage website for conversational interaction," Information
Technology & Tourism, vol. 27, no. 1, pp. 1–15, 2025.
The paper titled "Tell me more: integrating LLMs in a cultural heritage
website for advanced information exploration support" explores how Large
Language Models (LLMs) can enhance user engagement on cultural heritage
(CH) websites. Traditional CH platforms often offer static content that doesn’t
fully support diverse user needs. To address this, the authors propose a loosely
coupled integration of an LLM, allowing the chatbot to interact based on the
user’s browsing context without tightly altering the website’s original structure.
The model includes a conversational memory (CTX) to maintain context, implicit
prompt engineering to guide responses, and the suggestion of context-based
questions to support user exploration. This approach enables more dynamic,
relevant, and natural interactions with cultural content.
A user study involving 44 participants compared three versions of a CH
website: a traditional static site, one with a basic chatbot (Chatbox), and another
with an enhanced chatbot offering suggested questions (RecChatbox). Results
showed that both LLM-integrated versions improved usability and user
satisfaction, with the RecChatbox especially benefiting users who were less
proactive in exploring content. Overall, the study demonstrates that integrating
LLMs into CH websites significantly enriches the visitor experience by offering
personalized guidance, boosting curiosity, and encouraging deeper cultural
exploration. This flexible integration model sets a promising direction for future
AI-powered enhancements in the tourism and heritage sectors.
2
2. S. K. Rajan and M. S. Devi, “Role of Chatbots in Cultural Heritage
Tourism: An Empirical Study on Ancient Forts and Palaces,” Journal of
Tourism and Heritage Studies, vol. 12, no. 3, pp. 45–59, 2024.
The paper “Role of Chatbots in Cultural Heritage Tourism: An Empirical
Study on Ancient Forts and Palaces” by S. K. Rajan and M. S. Devi explores how
AI-powered chatbots can enrich the tourism experience at historic forts and
palaces, particularly in Tamil Nadu. The authors note that many heritage sites
remain underutilized due to limited access to detailed, multilingual, and engaging
information. To address this, they introduce a prototype chatbot named TN Forts
Buddy, which leverages natural language processing and location-based services
to provide tourists with personalized guidance, historical facts, and real-time
assistance in multiple languages.
Through empirical analysis and user testing, the study finds that chatbot-
supported tourism significantly improves visitor satisfaction, especially for those
unfamiliar with the local culture or language. The system enhances accessibility
and offers deeper insights into lesser-known heritage sites. The authors emphasize
that features like offline functionality, voice support, and potential integration
with augmented reality can further boost engagement. The paper concludes that
AI chatbots can play a key role in modernizing cultural heritage tourism by
making exploration more interactive, inclusive, and informative, thereby
supporting both cultural preservation and smart tourism development.
3
3. S.V. Hanji et al., "Adoption of AI Chatbots in Travel and Tourism
Services," in Proceedings of the Eighth International Congress on
Information and Communication Technology, Springer, 2024, pp. 713–727.
The paper titled "Adoption of AI Chatbots in Travel and Tourism Services"
by S.V. Hanji et al., published in the Proceedings of the Eighth International
Congress on Information and Communication Technology (Springer, 2024),
investigates the factors influencing travelers' adoption of AI chatbots within the
tourism industry. Recognizing the growing importance of AI-driven
conversational agents in enhancing customer service, the study addresses the
scarcity of research on their adoption in tourism. The authors extend the Unified
Theory of Acceptance and Use of Technology 2 (UTAUT2) model to examine
variables affecting consumer behavior towards AI chatbot usage in travel
services.
Employing a quantitative research approach, data was collected through
online surveys from 466 frequent travelers. Analysis using the Partial Least
Squares (PLS) method revealed that factors such as performance expectancy,
effort expectancy, habit, personal innovativeness, and awareness of chatbot
services positively influence the behavioral intention to use AI chatbots in
tourism. Additionally, awareness of chatbot services indirectly affects usage
intention through performance and effort expectancies. The study offers valuable
insights for tourism sector stakeholders, including executives, practitioners, and
system designers, aiming to enhance customer engagement and service delivery
through AI chatbot integration.
4
4. A. Kirilenko and S. Stepchenkova, "ChatGPT as a Travel Itinerary
Planner," in Information and Communication Technologies in Tourism
2024, Springer, 2024, pp. 456–468.
The paper "ChatGPT as a Travel Itinerary Planner" by A. Kirilenko and S.
Stepchenkova, featured in Information and Communication Technologies in
Tourism 2024 (Springer), examines the capabilities and limitations of ChatGPT
as a tool for planning travel itineraries. The researchers evaluate the performance
of ChatGPT-generated travel plans by comparing them with itineraries curated by
professional tourism experts. The evaluation is conducted using 11 specific
quality criteria, including accuracy, completeness, creativity, clarity, and
relevance. The study focuses on three different travel destinations, allowing for a
diverse assessment of how ChatGPT performs across varying contexts.
The findings highlight that ChatGPT excels in providing accessible and
clearly structured itineraries, which makes it particularly effective for generating
initial travel ideas or inspiration. The AI tool is praised for its ease of use and the
speed with which it can generate content, which can be especially helpful for
casual travelers or those unfamiliar with a destination. However, the paper also
points out several shortcomings. ChatGPT's itineraries sometimes include
outdated or incorrect information, and they tend to lack the nuance and depth that
human experts typically incorporate—such as understanding local customs,
aligning with user preferences, or offering logistical practicality.
The study concludes that while ChatGPT is a promising supplementary
tool in the early stages of travel planning, it should not be solely relied upon for
crafting detailed, personalized, or highly accurate itineraries. Instead, the AI
should be viewed as a collaborative assistant that can spark ideas and reduce
planning time, while human expertise remains essential for validation and
refinement.
5
5. Artificial Intelligence in the Tourism Industry: An Overview of Reviews
APA: García-Madurga, M. Á., & Grilló-Méndez, A. J. (2023). Artificial
Intelligence in the Tourism Industry: An Overview of Reviews.
Administrative Sciences, 13(8), 172.
The paper "Artificial Intelligence in the Tourism Industry: An Overview of
Reviews" by García-Madurga and Grilló-Méndez (2023), published in
Administrative Sciences, presents a comprehensive synthesis of 31 review
articles on the application of AI in tourism. Using an 'overview of reviews'
methodology, the authors examine key themes and trends, highlighting how AI
technologies are reshaping the industry through improved customer service,
personalized experiences, operational efficiency, and sustainability efforts. The
paper addresses the fragmented nature of existing research and aims to
consolidate knowledge for both academic and practical use.
The authors identify that while AI offers notable advantages, challenges
remain—particularly in the interpretability and transparency of AI models, which
can hinder broader adoption. They call for future research to focus on developing
more explainable and user-friendly AI systems. Ultimately, the study serves as a
valuable resource by summarizing current knowledge, identifying gaps, and
guiding future research directions to ensure responsible and effective AI
integration in the tourism industry.
6
6. Anu Sri S, Pavithra K, Aravinth Kumar R, Jerald Kevin J, Dharani G.,
“TOURIST GUIDE AI: An Intelligent Voice-Based Travel Assistant”, 2023.
Natural Language Processing (NLP) Algorithms, Text-to-Speech (TTS)
Algorithms, Speech-to-Text (STT) Algorithms, Recommendation
Algorithms, GPS-Based Location Tracking Algorithms.
The evolution of artificial intelligence (AI) has transformed the tourism
sector by enhancing how tourists interact with destinations. Research has focused
on developing AI-driven systems, such as conversational agents, that provide
real-time assistance, recommendations, and navigation. These systems use
natural language processing (NLP) to offer personalized responses, improving
engagement and satisfaction.
AI applications, enhanced by geolocation and GPS technologies, suggest
nearby points of interest, optimize travel routes, and provide updates on weather
and crowd levels. The integration of speech recognition and voice output
functionalities in tourist guides supports hands-free operation, benefiting those
with visual impairments or preferring auditory instructions.
Cloud computing and mobile technologies ensure scalable, responsive
systems, while augmented reality (AR) enriches the experience by overlaying
digital information on physical environments, offering immersive historical
narratives and interactive maps. Overall, AI, combined with mobile, geospatial,
and AR technologies, is revolutionizing tourist guide systems, making travel
experiences more personalized, accessible, and engaging.
7
7. Anushya. P, Kavitha. M, Priyanga. G, Ramya. K, Sujithra. A, “Smart
Tour Guide for Enhancing Tourist Experience Using Machine Learning”,
2024. Support Vector Machine (SVM), K-Nearest Neighbour’s (KNN),
Decision Tree Algorithm
The integration of smart technologies in tourism is transforming the visitor
experience by delivering personalized and real-time information. Smart Tour
Guide systems utilize GPS, QR codes, Augmented Reality (AR), and mobile apps
to provide contextual insights into historical monuments, cultural sites, and
nearby attractions.
GPS ensures accurate navigation through cities and heritage sites, while
QR codes offer instant access to multimedia content like audio guides and videos.
AR enhances interactivity by overlaying digital content onto real-world
environments, allowing tourists to visualize reconstructions and historical data in
immersive ways.
Smart Tour Guide platforms focus on user-friendly design, with features
like multilingual support and voice assistance to ensure accessibility. The system
integrates IoT and cloud computing for scalability and efficient data management.
Feedback systems and data analytics help refine user experiences and
personalize recommendations. Overall, smart tour guide technologies modernize
tourism by making travel more engaging, educational, and inclusive.
8
8. P. Rajakumar, M. Keerthivasan, R. Sasikala, S. Suganya, T. Porselvi.,
"Chatbot-based Tourist Guide Using Artificial Intelligence Markup
Language," IEEE, 2023. Artificial Intelligence Markup Language (AIML),
Pattern Matching Algorithms, Natural Language Processing (NLP)
Techniques, Knowledge Representation and Retrieval.
The evolution of artificial intelligence (AI) and natural language
processing (NLP) has led to the development of intelligent chatbots that enhance
user engagement in tourism. Initially, chatbots used rule-based systems, but
advancements in AI Markup Language (AIML) enabled more natural, human-
like interactions. AIML allows chatbots to handle a variety of queries, making
them ideal for tourist guide applications.
Research highlights the importance of speech recognition and multilingual
support, enabling global accessibility. Integrating voice-based interactions with
AIML-driven responses improves the experience for tourists, especially when
text input is inconvenient. Additionally, GPS technology plays a key role in
providing location-based recommendations for nearby attractions and services.
The use of chatbots through popular platforms like WhatsApp and
Facebook Messenger has also expanded their reach. A chatbot-based tourist
guide, leveraging AIML, voice recognition, and location-based services, offers
personalized, real-time responses and multilingual support, aligning with trends
in intelligent tourism solutions.
9
9. Artificial Intelligence in tourism: A review and bibliometrics research
APA: Kirtil, I. G., & Aşkun, V. (2021). Artificial intelligence in tourism: a
review and bibliometrics research. Advances in Hospitality and Tourism
Research (AHTR).
The paper titled "Artificial Intelligence in Tourism: A Review and
Bibliometrics Research" by İsmail Gökay Kırtıl and Volkan Aşkun (2021) offers
a comprehensive bibliometric analysis of the integration of Artificial Intelligence
(AI) in the tourism sector. Recognizing the growing influence of AI across various
industries, the authors aim to map the evolution, current trends, and collaborative
networks within AI-focused tourism research.
Utilizing the Scopus database, the study examined 102 relevant
publications, employing bibliometric tools such as co-citation and co-occurrence
analyses, as well as thematic evolution mapping. These methods facilitated the
identification of prolific authors, influential institutions, and key research themes.
The findings indicate a significant surge in AI-related tourism research post-2017,
with high citation averages underscoring the impact and relevance of these
studies.
The research also highlights the formation of collaborative networks
among authors and institutions, suggesting a trend towards interdisciplinary and
cooperative approaches in this field. By providing this structured overview, the
paper serves as a valuable resource for academics and industry professionals
seeking to understand the trajectory of AI applications in tourism and to identify
potential areas for future research.
10
10. Impact of Artificial Intelligence in Travel, Tourism, and Hospitality APA:
Bulchand-Gidumal, J. (2022). Impact of artificial intelligence in travel,
tourism, and hospitality. In Handbook of e-Tourism (pp. 1943-1962). Cham:
Springer International Publishing.
The author begins by outlining the foundational IT aspects of AI relevant
to these industries, subsequently delving into specific AI systems and applications
currently in use. The chapter places particular emphasis on the hospitality sector,
examining the implementation of AI technologies in detail. IDEAS/RePEc
In the realm of hospitality operations, AI is utilized for tasks such as
dynamic room allocation based on guest value, predictive maintenance of
facilities, personalization of services based on guest preferences, and the
deployment of service robots for functions like check-in and room service. AI
also aids in energy management, inventory control, and financial forecasting by
analysing expected revenues and guest arrivals. On the marketing front, AI
enhances customer relationship management (CRM) systems, enables
personalized marketing through mass customization, and supports intelligent
pricing strategies by forecasting demand and adjusting offers in real-time.
accedaCRIS
The chapter also addresses the challenges associated with AI integration,
notably the limitations in data availability for hotels, which often lack
comprehensive guest profiles beyond interactions on their own platforms. This
data scarcity hampers the full potential of AI applications. Furthermore, the
author discusses the future trajectory of AI in these industries, suggesting that
while AI and robotics will increasingly handle routine tasks, human roles will
persist in areas requiring complex decision-making and emotional intelligence.
11
CHAPTER 3
SYSTEM ANALYSIS
3.1 EXISTING SYSTEM
In Tamil Nadu, several existing systems aim to assist tourists, but they fall
short in delivering a comprehensive and interactive experience. The Tamil Nadu
Tourism Official Portal, managed by the state government, provides basic
information about destinations, accommodations, events, and tour packages,
along with maps and suggested itineraries. However, it remains largely static with
limited interactivity and no real-time updates, making it less useful for dynamic
trip planning.
Similarly, the Incredible India mobile app, a national-level initiative,
includes Tamil Nadu in its listings and provides details about tourist spots,
cultural events, and booking services. Yet, it lacks hyper-local content and fails
to offer personalized recommendations tailored to user interests, which
diminishes its effectiveness for Tamil Nadu’s rich and diverse heritage sites.
Third-party apps like Audio Compass offer audio-guided tours for certain
heritage locations in Tamil Nadu, providing immersive storytelling for tourists.
Unfortunately, their coverage is limited to popular monuments, leaving many
significant but lesser-known sites unexplored, and the app also lacks community-
driven content or interactive features.
Private tour operator apps such as SOTC and Thomas Cook provide
convenient packaged tours and services for Tamil Nadu, but these are
commercially oriented with predefined itineraries. These apps prioritize
transactions over in-depth cultural experiences and do not offer interactive or
personalized exploration, which restricts tourists from fully engaging with Tamil
Nadu’s cultural richness.
12
3.1.1 DRAWBACKS OF EXISTING SYSTEM
Lack of Personalization: Most systems provide generic information, not
customized based on user preferences, location, or interests.
Limited Cultural Depth: Existing platforms only cover famous monuments but
miss out on hidden gems and local cultural narratives.
Poor User Engagement: Systems are often static, with outdated information and
no interactive features (like quizzes, suggestions, or dynamic content).
Language Barriers: Many apps predominantly use English or Hindi, with
limited Tamil language support — alienating local users.
No Real-Time Updates: Information like opening hours, events, or accessibility
status is not live or updated regularly.
Dependency on Internet Connection: Most apps do not offer offline access,
which is crucial in remote areas.
Lack of Integration with Experts: Few systems integrate insights from
historians or cultural experts for deeper content authenticity.
3.2 PROPOSED SYSTEM
The proposed system, Heritage Explorer-TN, is a web-based tourism
platform designed to enhance heritage exploration across Tamil Nadu using smart
technologies such as artificial intelligence, geolocation, and cloud computing.
The system features a responsive user interface accessible via mobile and desktop
devices. At its core, the platform integrates an AI-powered chatbot that provides
real-time information on heritage sites, directions, historical facts, and cultural
etiquette. Geolocation services help identify nearby attractions, while interactive
maps and personalized recommendations guide tourists based on their interests
13
and travel history. All data is managed through a cloud-based backend, ensuring
scalability, efficient storage, and seamless content updates. Additionally, an
admin dashboard allows for easy management of site information, media content,
and user feedback. This system aims to modernize tourism by offering an
engaging, informative, and user-friendly experience that promotes cultural
preservation and smart travel.
3.2.1 ADVANTAGE OF THE PROPOSED SYSTEM
1. Real-Time Personalized Recommendations: The system leverages artificial
intelligence to deliver real-time, location-based suggestions tailored to each user's
preferences. By analysing interests and travel patterns, it recommends nearby
heritage sites, monuments, and cultural experiences. This personalized approach
ensures that tourists receive relevant and engaging information, enhancing their
overall journey
2. Boosts Tourism & Cultural Awareness: By showcasing Tamil Nadu’s diverse
heritage and lesser-known cultural sites, the platform promotes broader
exploration and deeper appreciation of local traditions. It encourages tourists to
visit multiple locations, thus distributing footfall and supporting regional tourism
economies. The detailed historical content and contextual storytelling elevate
awareness about Tamil Nadu’s cultural identity, making heritage exploration both
educational and inspiring. This boosts cultural preservation efforts while also
drawing more attention to the state as a rich, heritage-based travel destination.
3. AI-Powered Chatbot Assistance: The intelligent chatbot acts as a 24/7 virtual
tour guide, offering real-time support to tourists. It answers queries, provides
historical facts, guides users with navigation, and shares cultural etiquette tips.
By enhancing user interaction and convenience, the chatbot ensures a smoother
and more engaging travel experience, reducing dependency on human guides and
printed materials.
14
CHAPTER 4
SYSTEM REQUIREMENTS
4.1 HARDWARE REQUIREMENTS
PROCESSOR: Intel Core i5 or i7, or equivalent AMD RYZEN processors.
RAM:8 GB of RAM
HARD DISK: A solid-state drive (SSD)
4.2 SOFTWARE REQUIREMENTS
OPERATING SYSTEM: Ubuntu, Windows or macOS.
FRONTEND: React, [Link]
DATABASE: PostgreSQL
MAP INTEGRATION: Mapbox API
IDE: Visual Studio Code
15
CHAPTER 5
MODULES
1. User Device (Frontend): The user device serves as the primary interface
between the tourist and the system. Through the website, users can easily explore
heritage sites, receive recommendations, and interact with the chatbot. The
platform is designed to be user-friendly, supporting both desktop and mobile
browsers to ensure accessibility anytime and anywhere. Visitors input their
queries, either by typing or speaking, asking for details about historical places,
routes, cultural events, or suggestions near their location. This seamless
experience aims to make heritage exploration intuitive and engaging for all types
of users.
2. Chatbot Module: The chatbot module acts as the conversational bridge
between the user and the system. It uses a powerful Natural Language Processing
(NLP) engine to understand and interpret user queries in natural language,
whether in Tamil, Hindi, or English. Users can interact with the chatbot through
text or voice, making it accessible to a wide audience. Once a query is received,
the chatbot processes the input and identifies the user's intent, passing this
information to the core system modules for accurate and relevant responses. This
module ensures that users have an interactive and personalised guide throughout
their heritage exploration.
3. Core System Modules: At the heart of the platform, the core system modules
intelligently process user requests. The location tracking component detects the
user's real-time location (with consent) to suggest nearby heritage sites and
cultural experiences. Meanwhile, the AI Recommendation Engine analyses user
preferences, past interactions, and contextual data to offer personalised
suggestions. Whether a user is looking for ancient temples, colonial architecture,
or traditional festivals, this module dynamically curate’s options based on their
16
interests. The core system ensures that every interaction feels tailored, helping
users discover hidden gems and well-known heritage sites alike.
4. Cloud Backend (Database & Knowledge Hub): The cloud backend serves
as the digital brain of the platform, securely storing and managing all essential
data. User profiles are maintained to personalise experiences, keeping track of
preferences and previously explored locations. The heritage site database is a rich
repository of detailed information, images, and historical insights about each
location. In addition, the chatbot knowledge base houses frequently asked
questions and predefined responses to provide instant answers. This module
ensures data consistency and availability, allowing real-time retrieval and updates
to power the frontend and chatbot interactions seamlessly.
5. Admin Dashboard: The admin dashboard empowers administrators to
manage and continuously improve the platform. Through advanced analytics,
admins can monitor user engagement, popular heritage destinations, and chatbot
performance to make data-driven enhancements. The content management
system enables the addition and updating of heritage site information, events, and
multimedia content to keep the platform fresh and relevant. Administrators play
a crucial role in enriching the user experience by ensuring that the latest cultural
events, newly recognised heritage sites, and seasonal recommendations are
always up to date.
17
CHAPTER 6
SYSTEM DESIGN
6.1 DATA FLOW DIAGRAM
Fig 1. Data flow Diagram
18
Fig 2. Work Flow Diagram
19
The Heritage Explorer-TN is a smart tourism assistant designed to enhance
the experience of exploring heritage sites across Tamil Nadu. This digital
platform uses a combination of geolocation, artificial intelligence, chatbot
communication, and map services to deliver a highly personalized and interactive
user experience. The workflow ensures a smooth journey from initial app access
to on-site travel assistance.
1. USER ACCESS
The user journey begins with accessing the Heritage Explorer-TN platform
through a mobile application or web interface. At this point, users may be required
to sign in using their email, mobile number, or social media credentials. The
application requests necessary permissions such as location access, which is
crucial for delivering a personalized experience. This initial access also marks the
beginning of user session management, where preferences and behaviour may be
stored locally or in the cloud to enhance future interactions. By establishing a user
profile early on, the system sets the foundation for tailored recommendations and
relevant content delivery.
2. GEOLOCATION DETECTION
Once access is granted, the system uses built-in location services like GPS
or Wi-Fi triangulation to detect the user's current geographical position. This
allows the platform to tailor content and services based on proximity to nearby
heritage destinations within Tamil Nadu. Geolocation detection eliminates the
need for users to manually input their location, enhancing convenience and saving
time. This step is crucial for delivering context-aware experiences, especially
when suggesting destinations that are within a short travel radius.
20
3. PERSONALIZED RECOMMENDATIONS
With the user’s location identified, the application processes available data
to offer personalized heritage site recommendations. These suggestions are
influenced by several factors, including the user’s proximity to attractions,
previous interactions within the app, user preferences, and even dynamic data like
weather conditions or time of day. The recommendation engine may leverage
artificial intelligence techniques to continuously improve its outputs. As a result,
users receive curated suggestions that align with their interests, making the
exploration more meaningful and engaging.
4. SITE SELECTION
Users are then presented with a list of suggested heritage sites, each
enriched with relevant details such as historical significance, visitor reviews,
accessibility features, and estimated travel time. This allows users to make
informed decisions about which sites to visit. The interface may allow them to
select one or multiple destinations, depending on their interests and available
time. This stage ensures that the subsequent steps in the workflow are tailored
specifically to the chosen sites, streamlining the user’s experience and planning
process.
5. CHATBOT INTERACTION
After site selection, users are guided to interact with a built-in chatbot. The
chatbot serves as an intelligent assistant, providing information about the selected
site such as its history, entry timings, cultural relevance, and answers to frequently
asked questions. It also supports users in navigating through the app and planning
their visit more efficiently. This conversational layer adds an interactive
dimension to the experience, turning passive information consumption into an
engaging dialogue, and making it easier for users to find specific details without
manually searching through menus.
21
6. INTERACTIVE MAP INTEGRATION
Next, the app integrates interactive mapping services to visually guide
users to their selected heritage sites. This feature displays real-time routes,
estimated travel time, nearby amenities, and possible points of interest along the
way. Users can zoom in or out, explore alternate paths, and even tap on landmarks
for additional information. The map interface is designed to be intuitive and
responsive, enhancing navigational ease, especially for tourists unfamiliar with
local geography.
7. TRAVEL ASSISTANCE
Beyond just mapping, the application provides comprehensive travel
assistance features to support users during their journey. This includes access to
local transport options, emergency contact information, ticket booking services,
language translation tools, and alerts related to weather, crowd density, or events.
Augmented reality (AR) features might also be included to offer immersive on-
site guidance. These tools ensure a safe, convenient, and informed travel
experience, particularly beneficial for international or first-time visitors.
8. END
The journey concludes once the user reaches and explores the selected
heritage site. At this point, the app may prompt the user to provide feedback, share
their experience on social media, or log the visit in a digital travel journal. This
closing step not only helps in gathering valuable insights to enhance the app but
also encourages continued engagement by documenting the user’s cultural
exploration. The feedback collected here can be utilized to further refine the
personalization engine and improve the overall user experience for future visits.
22
CHAPTER 7
ALGORITHM
HAVERSINE FORMULA
The Haversine formula is an equation used to calculate the shortest distance
(as the crow flies) between two points on the surface of a sphere, given their
latitude and longitude. This is particularly useful in geospatial applications, such
as GPS navigation and travel planning.
The Haversine Formula:
a=sin2(Δϕ/2) +cos(ϕ1) ⋅ cos(ϕ2) ⋅ sin2(Δλ/2)
c=2 ⋅ atan2(√a, √1−a )
d=R ⋅ c
Where:
• ϕ1, ϕ2 : latitudes of point 1 and point 2 (in radians)
• Δϕ: difference between latitudes = 𝜙 2 − 𝜙 1
• Δλ: difference between longitudes = λ 2 − λ 1
• R: Earth’s radius (mean radius ≈ 6,371 km or 3,959 miles)
• d: distance between the two points (in the same unit as R)
We utilize the Haversine formula to dynamically calculate the distance
between the user's current location and the selected heritage site. This enables
accurate, real-time distance estimation by considering the Earth's curvature,
ensuring precise recommendations and efficient route planning for travellers.
23
CHAPTER 8
CONCLUSION AND FUTURE ENHANCEMENT
The HERITAGE EXPLORER-TN effectively combines technology with
cultural exploration, providing users with an interactive and personalised way to
discover the state’s heritage. With features like location tracking, chatbot
assistance, and AI-based recommendations, tourists can easily access tailored
information about nearby attractions. The cloud backend ensures real-time data
access and seamless performance, while the admin dashboard allows efficient
management of site content and user preferences.
Overall, this project not only promotes Tamil Nadu’s tourism but also helps
preserve and share its cultural legacy. By making heritage exploration accessible
and engaging, the platform enhances the travel experience for both local and
global visitors.
With future enhancements like augmented reality, deeper AI integration,
and expanded multilingual support to include more regional and international
languages, this guide has the potential to transform how people connect with
Tamil Nadu’s rich history and diverse culture.
24
CHAPTER 9
APPENDIX
9.1 SOURCE CODE
[Link]
import React, { useState } from "react";
import { ChatbotIcon } from "../assets/icons";
import * as Dialog from "@radix-ui/react-dialog";
import OpenAI from "openai";
import ReactMarkdown from "react-markdown";
const openai = new OpenAI({
apiKey: [Link].VITE_OPENAI_API_KEY,
dangerouslyAllowBrowser: true });
interface Message {
role: "user" | "assistant";
content: string;
export const ChatBot = () => {
const [isOpen, setIsOpen] = useState(false);
const [messages, setMessages] = useState<Message[]>([]);
const [inputValue, setInputValue] = useState("");
const [isLoading, setIsLoading] = useState(false);
25
const handleSendMessage = async (e: [Link]) => {
[Link]();
if (![Link]()) return;
const userMessage: Message = { role: "user", content: inputValue };
setMessages((prev) => [...prev, userMessage]);
setInputValue("");
setIsLoading(true);
try {
const response = await [Link]({
model: "gpt-4o-mini",
messages: [{
role: "system",
content: "You are a helpful heritage site guide assistant. Provide concise,
informative answers about historical sites, cultural landmarks, and travel
recommendations. Format your responses using markdown for better
readability. Use headings, bold text, and bullet points where appropriate. Keep
responses under 150 words.",
},
...messages,
userMessage,
],
26
max_tokens: 200, // Limit response length
temperature: 0.7, // Control randomness
});
const assistantMessage = {
role: "assistant",
content:
[Link][0]?.message?.content ||
"Sorry, I could not process your request.",
} as const;
setMessages((prev) => [...prev, assistantMessage]);
} catch (error) {
[Link]("Error:", error);
setMessages((prev) => [
...prev,
role: "assistant",
content: "Sorry, there was an error processing your request.",
},
]);
export default ChatBot;
27
[Link]
import React, { useEffect, useRef, useState } from "react";
import { MapIcon, MapPinIcon, Clock, Users } from "lucide-react";
import AnimatedTransition from "./AnimatedTransition";
import { useLocationData } from "../utils/locationService";
import { useToast } from "@/hooks/use-toast";
import { Button } from "@/components/ui/button";
import "ol/[Link]";
import Map from "ol/Map";
import View from "ol/View";
import TileLayer from "ol/layer/Tile";
import OSM from "ol/source/OSM";
import { fromLonLat } from "ol/proj";
import Feature from "ol/Feature";
import Point from "ol/geom/Point";
import { Vector as VectorLayer } from "ol/layer";
import { Vector as VectorSource } from "ol/source";
import { Style, Icon, Circle, Fill, Stroke, Text } from "ol/style";
const MapComponent: [Link]<{ city?: string }> = ({ city = "Coimbatore" })
=> {
const { toast } = useToast();
const mapContainer = useRef<HTMLDivElement>(null);
28
const map = useRef<Map | null>(null);
const [mapLoaded, setMapLoaded] = useState(false);
const {
locationData,
detailedAddress,
nearbySites,
error,
isLoading,
usingPreciseLocation,
getPreciseLocation,
} = useLocationData();
return (
<div className="relative w-full h-[400px] rounded-xl overflow-hidden">
<div ref={mapContainer} className="absolute inset-0" />
{isLoading && (
<div className="absolute inset-0 bg-slate-200/80 dark:bg-slate-800/80
flex flex-col items-center justify-center">
<div className="w-12 h-12 rounded-full border-4 border-heritage-500
border-t-transparent animate-spin mb-4"></div>
<p className="text-muted-foreground font-medium">
Detecting your location...
</p>
29
</div>
useEffect(() => {
if (![Link] || !mapLoaded || !locationData) return;
const vectorLayer = [Link]
.getLayers()
.getArray()[1] as VectorLayer<VectorSource>;
const vectorSource = [Link]()!;
[Link]();
if ([Link]) {
const [lat, lng] = [Link](",").map(Number);
const userLocation = new Feature({
geometry: new Point(fromLonLat([lng, lat])),
type: "user",
});
[Link](
new Style({
image: new Circle({
radius: 8,
fill: new Fill({ color: "#4338ca" }),
stroke: new Stroke({ color: "#ffffff", width: 2 }),
}),
30
})
);
[Link](userLocation);
[Link]().animate({
center: fromLonLat([lng, lat]),
duration: 1000,
});
[Link]((site, index) => {
const [siteLat, siteLng] = [Link](",").map(Number);
const siteFeature = new Feature({
geometry: new Point(fromLonLat([siteLng, siteLat])),
name: [Link],
category: [Link],
distance: [Link],
type: "site",
});
[Link](
new Style({
image: new Circle({
radius: 12,
31
fill: new Fill({ color: "#4338ca" }),
stroke: new Stroke({ color: "#ffffff", width: 2 }),
}),
text: new Text({
text: (index + 1).toString(),
fill: new Fill({ color: "#ffffff" }),
font: "12px Inter",
}),
})
);
)}
useEffect(() => {
if (locationData && !isLoading) {
toast({
title: usingPreciseLocation
? "Precise Location Detected"
: "Location Detected",
description: usingPreciseLocation
? Current location:\n${detailedAddress}
: We found you in ${[Link]}, ${[Link]},
duration: 5000,
32
});
} else if (error) {
toast({
title: "Location Error",
description: error,
variant: "destructive",
duration: 5000,
});
}, [
locationData,
detailedAddress,
error,
isLoading,
toast,
usingPreciseLocation,
]);
const handleGetPreciseLocation = () => {
getPreciseLocation();
};
export default MapComponent;
33
9.2 OUTPUT
Fig 3. Home Page
Fig 4. Discover Page
34
Fig 5. Get Directions
Fig 6. Chatbot
35
CHAPTER 10
REFERENCES
1) A. Kirilenko and S. Stepchenkova, "Tell me more: integrating LLMs in a
cultural heritage website for conversational interaction," Information
Technology & Tourism, vol. 27, no. 1, pp. 1–15, 2025.
2) S. K. Rajan and M. S. Devi, "Role of Chatbots in Cultural Heritage Tourism:
An Empirical Study on Ancient Forts and Palaces," Journal of Tourism and
Heritage Studies, vol. 12, no. 3, pp. 45–59, 2024.
3) S.V. Hanji et al., "Adoption of AI Chatbots in Travel and Tourism Services,"
in Proceedings of the Eighth International Congress on Information and
Communication Technology, Springer, 2024, pp. 713–727.
4) A. Kirilenko and S. Stepchenkova, "ChatGPT as a Travel Itinerary Planner,"
in Information and Communication Technologies in Tourism 2024, Springer,
2024, pp. 456–468.
5) S. Gupta and P. Sharma, "Leveraging ChatGPT and Other Generative AI-
Based Applications in the Hospitality and Tourism Industry: Practices,
Challenges, and Research Agenda," International Journal of Contemporary
Hospitality Management, vol. 37, no. 4, pp. 789–805, 2024.
6) Artificial Intelligence in the Tourism Industry: An Overview of Reviews
APA: García-Madurga, M. Á., & Grilló-Méndez, A. J. (2023). Artificial
Intelligence in the Tourism Industry: An Overview of Reviews. Administrative
Sciences, 13(8), 172.
7) Impact of Artificial Intelligence in Travel,Tourism, and Hospitality APA:
Bulchand-Gidumal, J. (2022). Impact of artificial intelligence in
36
travel,tourism, and hospitality. In Handbook of e-Tourism (pp. 1943-1962).
Cham:Springer International Publishing.
8) Artificial Intelligence in tourism: A review and bibliometrics research APA:
Kirtil, I. G., & Aşkun, V. (2021). Artificial intelligence in tourism: a review
and bibliometrics research. Advances in Hospitality and Tourism Research
(AHTR).
37