Travel Bot Report 1
Travel Bot Report 1
on
Prof. A. D. Khairkar
2022-23
CERTIFICATE
Department of Information Technology
Date:
Place: Pune
This project report is examined by us as per the Savitribai Phule Pune University,
Pune requirements at Bharati Vidyapeeth's College of Engineering for Women,
Pune - 43 on
I
ACKNOWLEDGEMENT
We take this opportunity to thank our project guide Prof. A. D. Khairkar, review panel
members Prof. M. A. Rane and Dr. S. S. Thite, Head of Department of Information
Technology Prof. Dr. D. A. Godse for their valuable guidance and for providing all the
necessary facilities, which wereindispensable in the completion of this project report.
We are also gratefulto respected Prof. Dr. S. R. Patil, Principal, Bharati Vidyapeeth’s
College of Engineering for Women, Pune, for his support and guidance that has helped
to expand horizons of thought and expression. We would also like to thank the institute
for providing the required facilities, Internet access and important books.
Rupali Dakore
Sakshi Kolte
Janhavi Patil
Pragati Bhakkad
II
ABSTRACT
Today's users have a lot of issues when it comes to travelling in any android application
because, in most cases, the user gets more than he expected, or he gets results which
are not according to his convenience. The system focuses on automating the
communication process using chat-bots, as well as providing customized results tothe
user, making the travelling convenient and user friendly for him. This chatbot will
simply answer questions about the application and guide users through theprocess so
that they can use it with ease. Our system will encourage all fellow travelersto find the
best accommodations, the most convenient routes, and will significantly improve their
customer satisfaction. The proposed system can also be useful in situations where a
person may feel uncomfortable to text, such as while driving. The developed bot has
proved to be effective for searching for various types of places and interacts well with
the user, trying to assist in the finding of additional information about a specific location
based on the user's queries. Extensive research on existing systems demonstrated faults
that the system attempts to address by developing a chat-botusing KNN and Dialog flow
Library and using the various algorithms such as KeywordMatching, String Similarity,
Spellchecker, and Natural language parser. The implementation of this system has
resulted in improved resource utilization and increased user responsiveness. This
system has been implemented to integrate with any information regarding the hotel,
foods, and weather travelling chatbot android application to ease the process or query
of travelling.
III
CONTENTS
Acknowledgement II
Abstract III
List of Abbreviations VI
List of Figures VII
List of Table VIII
IV
5.3.1 Use Case Diagram 9
5.3.2 Class Diagram 11
5.3.3 Deployment Diagram 12
5.3.4 Activity Diagram 12
5.3.5 Component Diagram 14
5.3.6 Sequence Diagram 14
6 System Implementation 16
6.1 Methodology 16
6.2 Algorithm 17
7 Proposed GUI 21
7.1 Login Page 21
7.2 Forgot Password 21
7.3 Forgot Mail 21
7.4 Forgot Mail 22
7.5 Reset Password 22
8 Project Plan 23
9 Conclusion 25
10 References 26
11 Plagiarism Report 27
V
LIST OF ABBREVIATIONS
VI
LIST OF FIGURES
VII
LIST OF TABLE
VIII
CHAPTER 1
1.1 Introduction
Android-based chatbots can interact with the user after understanding the requirement
of users. So instead of a human on one side replying to the queries of another human
on theother side the chatbot will act as a human and reply to the queries of the user.
The chatbot uses what are called neural networks, vast networks of machines that
approximate the web of neurons in the human brain. It is a software application that
runs automated tasks over the Internet [1]. Traditionally chatbot performs tasks that
are simple and structurally repetitive, at a much higher rate that is possible for a
human alone. Bot is a type of interactive agent, a computer program designed to
simulate an intelligent conversation with one or more human users via speech
recognition and chat interface. The system provides precise output to its users even
if minor spelling mistake is there.Moreover, the parsing of sentences avoids sending
to the system words that do not forma pattern [5]. The project benefits the individuals
who regularly travel. A mobile travel app is a software application that has been
developed specifically for use on smaller devices, such as smart phones can be used
by business travelers to book and manage their travel [2].
Travelling chatbot app helps users to Search best location for the holiday, also book
nearest hotels. In addition, weather forecasting is main point of our project, tourists
arealso motivated to travel by other factors.
Chatbot is the activities of people traveling to and staying in places outside their usual
environment for leisure, business or other purposes for not more than one consecutive
year. A mobile travel app is a software application that has been developed
specifically
BVCOEW 1
for use on smaller devices, such as smart phones can be used by business travelers
tobook and manage their travel whilst on the move.
BVCOEW 2
CHAPTER 2
LITERATURE SURVEY
2.1 Introduction
Android-based chatbots can interact with the user after understanding the requirement
of users. So instead of a human on one side replying to the queries of another human
on theother side the chatbot will act as a human and reply to the queries of the user.
The chatbot uses what are called neural networks, vast networks of machines that
approximate the web of neurons in the human brain. It is a software application that
runs automated tasks over the Internet.
• Speech Synthesis
These three phases work with each other to interact with the user and to help user
findthe required place and answer users’ queries. The Google API- Places API is
used to retrieve the places as well as the place details as per the user’s request [1]
This paper proposed the design of an Android based mobile application with an AI-
powered chatbot that helps users get the travel information they need anytime,
anywhere. Users will be able to get detailed data including pictures of all tourist
attractions in Pune. Guidance and convenient hotel/resort reservation services are
alsoprovided. This allows users to receive satisfactory customer service through the
chatbot. Chabot are great tools for human machine communication. The app is
designed to receive fast responses from bots, providing accurate responses to user
questions withoutdelay. Chatbot system generates a Q&A log in the form of a chatbot
to respond to the users’ queries. Then the chatbot summons applicable keywords
from the sentence and answers those questions. If a match is found, a meaningful
answer is provided or a similar answer is displayed. It is convenient to use chatbots
[3]
4. Akshay Kumar, Pankaj Kumar Meena, Debi Prasanna Panda, Ms. Sangeetha
“Chatbot in python”
In this paper introduced a chatbot that can interact with users. This chatbot can
answerqueries in the textual user input. For this purpose, AIML with program-o has
been used.The chatbot can answer only those questions which he has the answer in
its AIML dataset. So, to increase the knowledge of the chatbot, we can add the APIs of
Wikipedia,Weather Forecasting Department, Sports, News, Government and a lot
more. In such cases, the user will be able to talk and interact with the chatbot in any
BVCOEW 4
kind of domain.Using APIs like Weather, Sports, News and Government Services,
the chatbot will be able to answer the questions outside of its dataset and which are
currently happening in the real world. The next step towards building chatbots
involves helping people to facilitate their work and interact with computers using
natural language or using their set of rules. Future Such chatbots, backed by machine-
learning technology, will be ableto remember past conversations and learn from them
to answer new ones. The challengewould be conversing with the various multiple bot
users and multiple users [4]
BVCOEW 5
CHAPTER 3
PROBLEM STATEMENT
Tourism app guides users in finding the best vacation location. Book nearby hotels
as well. Tourism motivations include relaxation and family strengthening.
Additionally weather forecasting is the major point of our project, tourists are also
motivated to travel for other reasons.
3.3 Objectives
3.4 Constraints
The Software can be designed in Android Studio. For design purposes, we are going
to use Kotlin for development, and at the backend we are going to use a database like
Firebase.
BVCOEW 6
CHAPTER 4
PROJECT REQUIREMENTS
BVCOEW 7
CHAPTER 5
A data flow diagram (DFD) is a graphical representation of the flow of data through
an information system, modeling its process aspects. A DFD is often used as a
preliminarystep to create an overview of the system without going into detail, which
can later be elaborated. A DFD shows what kind of information will be input to and
output from the system, how the data will advance through the system, and where the
data will be stored. It does not show information about process timing or whether
processes will operate in sequence or in parallel, unlike a traditional structured
flowchart which focuses on control flow, or a UML activity workflow diagram,
which presents both control and data, flows as a unified model.
BVCOEW 8
Fig. 5.2 DFD Diagram
BVCOEW 9
The purposes of use case diagrams can be as follows:
• Used to gather requirements of a system.
BVCOEW 10
5.3.2 Class Diagram:
BVCOEW 11
5.3.3 Deployment Diagram:
BVCOEW 12
The most important shape types:
• Rounded rectangles represent actions
• Diamonds represent decisions
• Bars represent the start (split) or end (join) of concurrent activities
• A black circle represents the start (initial state) of the workflow
• An encircled black circle represents the end (final state).
Arrows run from the start towards the end and represent the order in which
activities happen. Hence, they can be regarded as a form of flowchart. Typical
flowcharttechniques lack constructs for ex-pressing concurrency. However, the
join and split symbols in activity diagrams only resolve this for simple cases;
the meaning of the model is not clear when they are arbitrarily combined with
decisions or loop.
BVCOEW 13
5.3.5 Component Diagram:
Sequence Diagrams are interaction diagrams that detail how operations are
carried out. They capture the interaction between objects in the context of a
collaboration. Sequence Diagrams are time focus and they show the order of
the interaction visually by using the vertical axis of the diagram to represent
time what messages are sent and when.
Purpose of Sequence Diagram
• Model high-level interaction between active objects in a system.
• Model the interaction between object instances within a collaboration
that realizes a use case.
• Model the interaction between objects within a collaboration that realizes
an operation.
• Either model generic interactions (showing all possible paths through the
interaction) or specific instances of a interaction (showing just one path
through the interaction).
BVCOEW 14
Fig. 5.3.6 Sequence diagram
BVCOEW 15
CHAPTER 6
SYSTEM IMPLEMENTATION
6.1 Methodology:
The system that we are proposing will use a retrieval-based chatbot. It will be a perfect
match for our proposed system as the queries or questions in the travel application
canbe easily estimated. Android based smart chat-bot is a very promising system and
aimsto enhance the user and customer experience.
Travelling chatbot app helps users to search for the best location for the holiday. Also
book the nearest hotels. In addition, weather forecasting is the main point of our
project,tourists are also motivated to travel by other factors.
Chatbot Module:
• The user can directly interact with system and system will give instant reply to
the user.
Hotels Module:
• Using KNN Algorithm we can access the current location of the user and
according to that system will show a nearby hotel.
• Using Database, we can also store the list of different hotels.
Food Module:
• Using the current location of the user system will give information about famous
food and information about available food in the hotel.
Weather Module:
• When a user searches the place then our system also gives weather information
according to places.
BVCOEW 16
6.2 Algorithm:
KNN Algorithm:
• Calculate the distance metric from the current pose (query point) to all other
points of interest - measure the similarity between observations and access points
data.
• Return the first K items.
We measure the similarity between points and then take the weighted average from
the selected subset. This approach is called centroid estimation. When the target node
communicates with all the anchors, i.e., all anchors are visible, the centroid results in
the center of the anchors’ coordinates.
The main assumption in this model, as in most geometrical algorithms, is that all
transmitters are visible.
BVCOEW 17
6.2.2 KNN Positioning
In the example where a signal is reflected from walls, the radio-based methods will
beprone to error sometimes. The KNN approach allows us to deal with this error
source if number K is tuned correctly. If there are multiple signal reflections, we may
want tolocalize only the 3 most strong signals and reject all noisy information. For
accurate positioning in high reflecting environments, we need to both tune algorithm
settings and collect more data to provide coverage.
Dialog flow is a platform that simplifies the process of creating and designing a
naturallanguage processing conversational chat assistant which can accept voice or
text data when being used either from the Dialog flow console or from an integrated
web application. To understand how Dialog flow simplifies the creation of a
conversationalchat assistant, we will use it to build a customer care agent for a food
delivery service and see how the built chat assistant can be used to handle food orders
and other requestsof the service users.
BVCOEW 18
Dialog Flow Terminologies
• Agent
An agent on Dialog flow represents the chatbot created by a user to interact with
other end-users and perform data processing operations on the information it
receives. Othercomponents come together to form an agent and each time one of
these components isupdated, the agent is immediately re-trained for the changes
to take effect.
• Intent
The intent is the user’s end goal in each sentence when interacting with an agent.
For asingle agent, multiple intents can be created to handle each sentence within
a conversation, and they are connected using Contexts.
• Entity
Entities are a means by which Dialog flow processes and extracts specific data
from anend-user’s input.
• Training Phrase
The training phrases is a major way in which an agent can recognize the intent
of an end-user interacting with the agent. Having many training phrases within
an intent increases the accuracy of the agent to recognize an intent, in fact Dialog
flows on training phases recommends that “at least 10-20” training phrases be
added to a createdintent.
To make training phrases more reusable, dialog flow gives the ability to annotate
specific words within the training phrase. When a word within a phrase is
annotated, dialog flow would recognize it as a placeholder for values that would
be provided in anend-user’s input.
• Context
Contexts are string names, and they are used to control the flow of a conversation
withan agent. On each intent, we can add multiple input contexts and
multiple output contexts. When the end-user makes a sentence that is recognized
by an intent the outputcontexts become active and one of them is used to match
BVCOEW 19
the next intent.
• Knowledge base
A knowledge base represents a large pool of information where an agent can fetch
datawhen responding to an intent. This could be a document in any format such
as txt, pdf,csv among other supported document types.
• Fulfilment
BVCOEW 20
CHAPTER 7
PROPOSED GUI/WORKING
MODULES/EXPERIMENTAL RESULTS
BVCOEW 21
Fig 7.4 Forgot Mail
BVCOEW 22
CHAPTER 8
PROJECT PLAN
BVCOEW 23
SRS as perProblem Statement
• Requirement Analysis / Models.
• UML/ER Diagrams.
BVCOEW 24
CHAPTER 9
CONCLUSION
This system is time efficient as whole traveling related questions & answers
procedure is done in a single chat interface. This system provides the customized
output by reducing the confusion of the user related to multiple options. This system
provides real-time supportto the user. This system provides easiest way to fetch the
information from system fromsystem for providing users queries answer. This system
aims to enhance the user and customer experience. This system has flexible nature in
structure related to the varietyof input that the user provides.
BVCOEW 25
REFERENCES
[1] Akshay Kumar1, Pankaj Kumar Meena2, Debiprasanna Panda3, Ms. Sangeetha,
“CHATBOT IN PYTHON” Volume: 06 Issue: 11, Nov 2019
[2] Muhammad Afzaal, Muhammad Usman, Alvis Fong “Tourism Mobile App with
Aspect-Based Sentiment Classification Framework for Tourist Reviews” IEEE
Conference Paper 2019
[3] Ramkrishna Vadali, Shraddha Gaware, Shreya Inamdar, Rushikesh Kothule , Sumit
Kshirsagar “Travel Application with Chatbot Service” Vol. 11 Issue 04, April-2022
[4] Akshay Kumar, Pankaj Kumar Meena, Debiprasanna Panda, Ms. Sangeetha.
“Chatbot in python” Vol. 11 Issue 04, April-2022
BVCOEW 26
PLAGARISM REPORT
BVCOEW 27
BVCOEW 28
BVCOEW 29
BVCOEW 30
BVCOEW 31
BVCOEW 32
BVCOEW 33
BVCOEW 34