SlideShare a Scribd company logo
1 of 4
NATIONAL CONFERENCE ON EMERGING TRENDS IN INTELLIGENT

                                   COMPUTING AND COMMUNICATION

                                               APRIL 13-14, 2012




      CHATBOT FOR DIABETIC PATIENTS
Gunjan Jain                    Harshit Gupta              Himadri Gupta                   Himani Singh

CSE Department                 CSE Department             CSE Department                  CSE Department

IMSEC                          IMSEC                      IMSEC                           IMSEC

Ghaziabad, India               Ghaziabad, India           Ghaziabad, India                Ghaziabad, India

gunjan.jain10@yahoo            harshgupta1990@gm          himadri.gpt16@gmail             singh.himani91@gma
.com                           ail.com                    .com                            il.com




Abstract:                                                 Chatbot is a technology in which human can interact
                                                          with computers by using natural language(that is
Chatbot is a technology that makes interaction            spoken by human). There are a number of chatbot
between human and machines possible by using              nowadays that act as a website guidance, online
natural language. In this paper, we proposed an           shopping and there are also a chatbots which just
architectural design of a chatbot that will act as a      reply to whatever human talks to them. However,
virtual diabetic doctor and make possible for patients    some chatbots are also designed which are specific to
to interact with virtual diabetic doctor. This chatbot    area of knowledge. It was like the search engine
will allow the patients to have a diabetes control and    where user enters the words and engine reply
management advice without the need to go to the           according to the search parameters. Although there
hospital. In this design, we used knowledge               are some techniques which makes the chatbot to
database(KDB) and pattern matching. On the basis of       remember the previous conversation topic, but it
pattern matching between database and KDB, chatbot        cannot remember the whole conversation. So, we
will give response to the user as a virtual diabetes      propose an architectural design that has the ability to
physician.                                                remember the whole conversation flow and whenever
                                                          user wants to see the whole chat, he will be able to
Keywords:
                                                          see it.
Chatbot,Knowledge        Database(KDB),        Pattern
                                                          Related Work:
Matching.
                                                          ELIZA- It was the first chatbot designed by Professor
Introduction:
                                                          Joseph Weizenbaum from Massachusetts Institute of

ISBN: 9788175157262
NATIONAL CONFERENCE ON EMERGING TRENDS IN INTELLIGENT

                                    COMPUTING AND COMMUNICATION

                                                APRIL 13-14, 2012



Technology (MIT) [2], which makes possible for             Three major components in managing diabetes are
human to interact with computer. In this, input            monitoring blood glucose level, proper diet as per
sentences are analyzed by decomposition rules which        prescribed by doctor and patients/guardians
are triggered by keywords. And responses are made          motivation. The first and most important component
on the basis of reassembly rules. Some of the              where patients need to continuously monitor their
technical problems with ELIZA were: (1) the                blood glucose level [4]. Following that, patients
identification of keywords, (2) the discovery of           needs to continuously go to the hospital for regular
minimal context, (3) the choice of appropriate             checkup even if they are in secure control level of
transformations, (4) generation of responses in the        their disease. So,we propose to develop a chatbot
absence of keywords, and (5) the provision of an           that will function as virtual diabetes doctor which
ending capacity of ELIZA “scripts”.                        will perform a basic diagnosis on diabetic patients.

A.L.I.C.E.- It is an acronym for Artificial Linguistic     The process flows as a regular chatting conversation
Internet Chat Entity, which is a type of dialog-driven     using natural language with chatbot which will be a
chatterbot developed in 1995 by Richard Wallace [3].       question and answer session. This session will
ALICE’s knowledge about conversation patterns is           continue until patient is successfully diagonised and
stored in AIML files. AIML(Artificial Intelligence         get most suitable control advice for their diabetes
Markup Language) is a derivative of XML. AIML              condition. In order to do a diagnosis, chatbot will ask
describes a class of data objects and also describes       several sequence questions and those questions will
the partial behavior of computer programs. ALICE           be selected based on the answers given by patient.
seeks to mimic the conversation rather than
understand it.                                             The algorithm used in programming is as follows:
                                                           when a patient says something to a doctor (patient
VPBot- Other than ELIZA and ALICE, there is                string) , then that patient string is break into words
                                                           which is stored in an array. After that the array
another SQL-based chatbot called VPbot which are
                                                           matches every words from the keywords of
used for medical applications. It stores the language      knowledge database and if the keywords are found
rules in a relational data model. The VPbot algorithm      same then the corresponding response is given to the
accepts three input parameters: vpid, the current topic    patient.By using these knowledgable patterns, we
and aa sentence. The vpid is an unique identifier. The     make a decision tree about the diseases to get the
topic is an optional parameter, used for handling          final decision. If the result comes positive that is if it
pronouns. The output of VPbot is a new sentence            is found that the patient has diabetes then chatbot will
                                                           provide the patient with cure and treatment and
and a new topic. As stated by Dr. Webber, there are
                                                           advice the patient according to knowledge base
some limitations on using single SQL statement             patterns. If chatbot finds that patient has no diabetic
because true recursion is not possible [1].                symptoms then it will inform that you are alright and
                                                           provide with simple medications so that patient will
Proposed Work:                                             be fit and fine. The diagrammatic representation of
                                                           algorithm is shown in figure.1.
 Diabetes disease yet cannot be cured by nowadays,
but it can be properly managed and controlled in           Conclusion:
order for patient to get a healthy and active life.
ISBN: 9788175157262
NATIONAL CONFERENCE ON EMERGING TRENDS IN INTELLIGENT

                                   COMPUTING AND COMMUNICATION

                                              APRIL 13-14, 2012



 In this chatbot, we designed the conversation which
is controlled by computer rather than by human by
making the user remain to the conversation topic and
they are not allowed to enter any irrelevant input or
data and if they do, chatbot will response that the
input was not recognizable and keep repeating the
previous question until the keyword is find. The
patient will also be suggested in order to correctly
answers the questions. This design will allow chatbot
to response to the whole conversation as it
specifically designed to be a virtual diabetes
physician.

Acknowledgement:

 We would like to thank Dr. Pankaj Agarwal, Head of
Department, CSE department, IMS Engineering
College and Ms. Shruti Keshari, Assistant Professor,
CSE Department, IMS Engineering College for their
support in the process of research.




                                                               Figure#1:The Diagramatic Representation of
                                                         Algorithm


                                                         References:



ISBN: 9788175157262
NATIONAL CONFERENCE ON EMERGING TRENDS IN INTELLIGENT

                                  COMPUTING AND COMMUNICATION

                                             APRIL 13-14, 2012



[1] Abbas Saliimi Lokman , Jasmi Mohamad Zain,          Questioning’’,Artificial Intelligence Lab ,The
Fakulti    Sistem Komputer        & Kejuruteraan        University     of       Arizona     ,Tucson,Arizona
Perisian,”Designing a chatbot for Diabetic              85721,USA@eller.arizona.edu.
Patients”,university Malaysia Pahang , Lebuhraya tun
Razak 26300 Kuautan,Pahang.                             [4] Jasni M. Zain and Abdul R.M. Fauzi,”Expectation
                                                        and Feasibility of a computer Aided Education in
[2] Joseph Weizenbaum “ELIZA-A Computer                 Diabetes Urban Area in Malaysia: views from
program for the study of natural language               Patients,Healthcare     Staff     and      Hospital
communication between man & machine”                    Administrators”,in proceedings of the International
Massachusetts Institute Of Technology,Mass              Conference       of     Education,Research      and
Communication         of       the   ACM                Innovation,ICERI 2008.
volume9,number1(January1966):36-35.
                                                        [5] Rik Crutzen,Gjalt-John Y-Peters,Sarah Dias
[3] Robert P. Schumaker, Hsiuchun Chen                  Portugal,Erwin H.Pisser and Jorne J. Grolleman
“Interaction Analysis of the ALICE chatterbot: A        “Chatbot Answering Adoloscents Questions About
Two-Study Investigation of Dialog & Domain              Sex,Drugs And Alcohol”,published in 2011.




ISBN: 9788175157262

More Related Content

Recently uploaded

Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 

Recently uploaded (20)

YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 

Featured

AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 

Featured (20)

AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 

Research Paper On Chatbot for Diabetic Patient

  • 1. NATIONAL CONFERENCE ON EMERGING TRENDS IN INTELLIGENT COMPUTING AND COMMUNICATION APRIL 13-14, 2012 CHATBOT FOR DIABETIC PATIENTS Gunjan Jain Harshit Gupta Himadri Gupta Himani Singh CSE Department CSE Department CSE Department CSE Department IMSEC IMSEC IMSEC IMSEC Ghaziabad, India Ghaziabad, India Ghaziabad, India Ghaziabad, India gunjan.jain10@yahoo harshgupta1990@gm himadri.gpt16@gmail singh.himani91@gma .com ail.com .com il.com Abstract: Chatbot is a technology in which human can interact with computers by using natural language(that is Chatbot is a technology that makes interaction spoken by human). There are a number of chatbot between human and machines possible by using nowadays that act as a website guidance, online natural language. In this paper, we proposed an shopping and there are also a chatbots which just architectural design of a chatbot that will act as a reply to whatever human talks to them. However, virtual diabetic doctor and make possible for patients some chatbots are also designed which are specific to to interact with virtual diabetic doctor. This chatbot area of knowledge. It was like the search engine will allow the patients to have a diabetes control and where user enters the words and engine reply management advice without the need to go to the according to the search parameters. Although there hospital. In this design, we used knowledge are some techniques which makes the chatbot to database(KDB) and pattern matching. On the basis of remember the previous conversation topic, but it pattern matching between database and KDB, chatbot cannot remember the whole conversation. So, we will give response to the user as a virtual diabetes propose an architectural design that has the ability to physician. remember the whole conversation flow and whenever user wants to see the whole chat, he will be able to Keywords: see it. Chatbot,Knowledge Database(KDB), Pattern Related Work: Matching. ELIZA- It was the first chatbot designed by Professor Introduction: Joseph Weizenbaum from Massachusetts Institute of ISBN: 9788175157262
  • 2. NATIONAL CONFERENCE ON EMERGING TRENDS IN INTELLIGENT COMPUTING AND COMMUNICATION APRIL 13-14, 2012 Technology (MIT) [2], which makes possible for Three major components in managing diabetes are human to interact with computer. In this, input monitoring blood glucose level, proper diet as per sentences are analyzed by decomposition rules which prescribed by doctor and patients/guardians are triggered by keywords. And responses are made motivation. The first and most important component on the basis of reassembly rules. Some of the where patients need to continuously monitor their technical problems with ELIZA were: (1) the blood glucose level [4]. Following that, patients identification of keywords, (2) the discovery of needs to continuously go to the hospital for regular minimal context, (3) the choice of appropriate checkup even if they are in secure control level of transformations, (4) generation of responses in the their disease. So,we propose to develop a chatbot absence of keywords, and (5) the provision of an that will function as virtual diabetes doctor which ending capacity of ELIZA “scripts”. will perform a basic diagnosis on diabetic patients. A.L.I.C.E.- It is an acronym for Artificial Linguistic The process flows as a regular chatting conversation Internet Chat Entity, which is a type of dialog-driven using natural language with chatbot which will be a chatterbot developed in 1995 by Richard Wallace [3]. question and answer session. This session will ALICE’s knowledge about conversation patterns is continue until patient is successfully diagonised and stored in AIML files. AIML(Artificial Intelligence get most suitable control advice for their diabetes Markup Language) is a derivative of XML. AIML condition. In order to do a diagnosis, chatbot will ask describes a class of data objects and also describes several sequence questions and those questions will the partial behavior of computer programs. ALICE be selected based on the answers given by patient. seeks to mimic the conversation rather than understand it. The algorithm used in programming is as follows: when a patient says something to a doctor (patient VPBot- Other than ELIZA and ALICE, there is string) , then that patient string is break into words which is stored in an array. After that the array another SQL-based chatbot called VPbot which are matches every words from the keywords of used for medical applications. It stores the language knowledge database and if the keywords are found rules in a relational data model. The VPbot algorithm same then the corresponding response is given to the accepts three input parameters: vpid, the current topic patient.By using these knowledgable patterns, we and aa sentence. The vpid is an unique identifier. The make a decision tree about the diseases to get the topic is an optional parameter, used for handling final decision. If the result comes positive that is if it pronouns. The output of VPbot is a new sentence is found that the patient has diabetes then chatbot will provide the patient with cure and treatment and and a new topic. As stated by Dr. Webber, there are advice the patient according to knowledge base some limitations on using single SQL statement patterns. If chatbot finds that patient has no diabetic because true recursion is not possible [1]. symptoms then it will inform that you are alright and provide with simple medications so that patient will Proposed Work: be fit and fine. The diagrammatic representation of algorithm is shown in figure.1. Diabetes disease yet cannot be cured by nowadays, but it can be properly managed and controlled in Conclusion: order for patient to get a healthy and active life. ISBN: 9788175157262
  • 3. NATIONAL CONFERENCE ON EMERGING TRENDS IN INTELLIGENT COMPUTING AND COMMUNICATION APRIL 13-14, 2012 In this chatbot, we designed the conversation which is controlled by computer rather than by human by making the user remain to the conversation topic and they are not allowed to enter any irrelevant input or data and if they do, chatbot will response that the input was not recognizable and keep repeating the previous question until the keyword is find. The patient will also be suggested in order to correctly answers the questions. This design will allow chatbot to response to the whole conversation as it specifically designed to be a virtual diabetes physician. Acknowledgement: We would like to thank Dr. Pankaj Agarwal, Head of Department, CSE department, IMS Engineering College and Ms. Shruti Keshari, Assistant Professor, CSE Department, IMS Engineering College for their support in the process of research. Figure#1:The Diagramatic Representation of Algorithm References: ISBN: 9788175157262
  • 4. NATIONAL CONFERENCE ON EMERGING TRENDS IN INTELLIGENT COMPUTING AND COMMUNICATION APRIL 13-14, 2012 [1] Abbas Saliimi Lokman , Jasmi Mohamad Zain, Questioning’’,Artificial Intelligence Lab ,The Fakulti Sistem Komputer & Kejuruteraan University of Arizona ,Tucson,Arizona Perisian,”Designing a chatbot for Diabetic 85721,USA@eller.arizona.edu. Patients”,university Malaysia Pahang , Lebuhraya tun Razak 26300 Kuautan,Pahang. [4] Jasni M. Zain and Abdul R.M. Fauzi,”Expectation and Feasibility of a computer Aided Education in [2] Joseph Weizenbaum “ELIZA-A Computer Diabetes Urban Area in Malaysia: views from program for the study of natural language Patients,Healthcare Staff and Hospital communication between man & machine” Administrators”,in proceedings of the International Massachusetts Institute Of Technology,Mass Conference of Education,Research and Communication of the ACM Innovation,ICERI 2008. volume9,number1(January1966):36-35. [5] Rik Crutzen,Gjalt-John Y-Peters,Sarah Dias [3] Robert P. Schumaker, Hsiuchun Chen Portugal,Erwin H.Pisser and Jorne J. Grolleman “Interaction Analysis of the ALICE chatterbot: A “Chatbot Answering Adoloscents Questions About Two-Study Investigation of Dialog & Domain Sex,Drugs And Alcohol”,published in 2011. ISBN: 9788175157262