Health Care Chat Bot

Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

Heal

thCar
eChatbot

Abst
ract
:

Heal
thcar
eisv
eryi
mpor
tantt
oleadagoodl
i
fe.Howev
er,
iti
sver
ydi
ff
icul
t
t
oobt
aint
heconsul
tat
ionwi
tht
hedoct
orf
orev
eryheal
thpr
obl
em.The
i
deai
stocr
eat
eamedi
calchatbotusi
ngAr
ti
fi
cialI
ntel
l
igencet
hatcan
di
agnoset
hedi
seaseandpr
ovi
debasi
cdet
ail
saboutt
hedi
seasebef
ore
consul
ti
ngadoct
or.Thi
swi
l
lhel
ptor
educeheal
thcar
ecost
sandi
mpr
ove
accessi
bil
i
tyt
omedi
cal
knowl
edget
hroughmedi
cal
chatbot
.Thechatbot
s
ar
ecomput
erpr
ogr
amst
hatusenat
urall
anguaget
oint
eractwi
thuser
s.
Thechatbotst
orest
hedat
aint
hedat
abaset
oident
if
ythesent
ence
key
wor
dsandt
omakeaquer
ydeci
sionandanswert
hequest
ion.Ranki
ng
andsent
encesi
mil
ari
tycal
cul
ati
oni
sper
for
medusi
ngn-
gram,TFI
DFand
cosi
nesi
mil
ari
ty.Thescor
ewi
l
lbeobt
ainedf
oreachsent
encef
rom t
he
gi
veni
nputsent
enceandmor
esi
mil
arsent
enceswi
l
lbeobt
ainedf
ort
he
quer
ygi
ven.Thet
hir
dpar
ty,t
heexper
tpr
ogr
am,handl
est
hequest
ion
pr
esent
ed t
othe bott
hati
snotunder
stood ori
snotpr
esenti
nthe
dat
abase.

I
ntr
oduct
ion:

Comput
ersgi
veusi
nfor
mat
ion;t
heyengageusandhel
pusi
nal
otof
manner
s.A chat bot i
s a pr
ogr
am i
ntended t
o count
erf
eit smar
t
communi
cat
iononat
extorspeech.Yet
,thi
spaperconcent
rat
esonl
yon
t
ext
.Thesesy
stemscanl
ear
nthemsel
vesandr
est
oret
hei
rknowl
edge
usi
ng human assi
stance orusi
ng web r
esour
ces.Thi
s appl
i
cat
ion i
s
i
ncr
edi
blyf
undament
alsi
nceknowl
edgei
sst
oredi
nadv
ance.Thesy
stem
appl
i
cat
ionusest
hequest
ionandanswerpr
otocoli
nthef
orm ofachatbot
t
oansweruserquer
ies.Thi
ssy
stem i
sdev
elopedt
oreducet
heheal
thcar
e
costandt
imeoft
heuser
s,asi
tisnotpossi
blef
ort
heuser
stov
isi
tthe
doct
orsorexper
tswheni
mmedi
atel
yneeded.

Exi
sti
ngsy
stem:

Her
ethey use n-
gram t
echni
que f
orext
ract
ing t
he wor
ds f
rom t
he
sent
ences.Her
en-
gram i
susedf
orcompar
isonanddeduct
ionoft
hei
nput
wi
thcasedat
ausi
ng Mor
o phonemesand phonemesast
hedeci
ding
par
amet
er.Pr
obabi
l
ityanal
ysi
sfort
hecl
osestmat
chi
sper
for
med.The
f
inalexpr
essi
oni
sredi
rect
ed t
hroughanexper
tsy
stem.Thechatbot
dev
elopedher
eforheal
thcar
epur
posesf
ort
heandr
oidappl
i
cat
ion.The
usersendst
het
extmessageorv
oicemessageusi
ngGoogl
eAPI
.Her
ethe
userget
sonl
yrel
atedanswerf
rom t
hechatbot
.SVM al
gor
it
hm i
susedt
o
cl
assi
fyt
hedat
aset
.Her
ethePor
teral
gor
it
hm i
susedt
odi
scar
dunwant
ed
wor
dsl
i
kesuf
fi
xesorpr
efi
xes.

Pr
oposedsy
stem:

The chatbot
s ar
e conv
ersat
ionalv
irt
ualassi
stant
s whi
ch aut
omat
e
i
nter
act
ionswi
tht
heuser
s.Chatbot
sar
epower
edbyar
ti
fi
ciali
ntel
l
igence
usi
ngmachi
nel
ear
ningt
echni
quest
ounder
standnat
urall
anguage.The
mai
nmot
iveoft
hepaperi
stohel
ptheuser
sregar
dingmi
norheal
th
i
nfor
mat
ion.I
nit
ial
l
ywhen t
he user
’sv
isi
tst
he websi
tef
ir
str
egi
ster
s
t
hemsel
vesandl
atercanaskt
hebott
hei
rquer
ies.Thesy
stem usesan
exper
tsy
stem t
oanswert
hequer
iesi
ftheansweri
snotpr
esenti
nthe
dat
abase.Her
ethedomai
nexper
tsal
soshoul
dregi
stert
hemsel
vesby
gi
vi
ngv
ari
ousdet
ail
s.Thedat
aoft
hechatbotst
oredi
nthedat
abasei
nthe
f
orm ofpat
ter
n-t
empl
ate.Her
eSQLi
susedf
orhandl
i
ngt
hedat
abase.

Modul
es:

Chatbot
:

Comput
ersgi
veusi
nfor
mat
ion;t
heyengageusandhel
pusi
nal
otof
manner
s.A chat bot i
s a pr
ogr
am i
ntended t
o count
erf
eit smar
t
communi
cat
iononat
extorspeech.Yet
,thi
spaperconcent
rat
esonl
yon
t
ext
.Thesesy
stemscanl
ear
nthemsel
vesandr
est
oret
hei
rknowl
edge
usi
ng human assi
stance orusi
ng web r
esour
ces.Thi
s appl
i
cat
ion i
s
i
ncr
edi
blyf
undament
alsi
nceknowl
edgei
sst
oredi
nadv
ance.Thesy
stem
appl
i
cat
ionusest
hequest
ionandanswerpr
otocoli
nthef
orm ofachatbot
t
oansweruserquer
ies.Thi
ssy
stem i
sdev
elopedt
oreducet
heheal
thcar
e
costandt
imeoft
heuser
s,asi
tisnotpossi
blef
ort
heuser
stov
isi
tthe
doct
orsorexper
tswheni
mmedi
atel
yneeded.

Recur
rentneur
alnet
wor
k:

Her
ethest
udi
esar
ebasedont
orecogni
zeemot
ionscl
assi
fi
cat
ionusi
ng
AImet
hods.Thest
udi
est
rai
nemot
ionscl
assi
fi
cat
ionmodel
sfr
om al
otof
l
abel
l
eddat
abasedonr
ecur
rentneur
alnet
wor
k(RNN)
,deepl
ear
ning,and
conv
olut
ionalneur
alnet
wor
k.Li
ngui
sti
cint
eract
ioni
smosti
mpor
tanti
n
counsel
i
ngusi
ngNat
ural
LanguagePr
ocessi
ng(
NLP)andNat
ural
-l
anguage
gener
ati
on(
NLG)t
ounder
standdi
aloguesofuser
s.Her
ethemul
ti
-modal
appr
oachi
susedofemot
ion-
recogni
ti
on.Theyhav
ecol
l
ect
edcor
pusest
o
l
ear
nsemant
ici
nfor
mat
ionofwor
dsandr
epr
esentasv
ect
orusi
ngt
he
wor
dvect
or,
synony
m knowl
edgeofl
exi
cal
arecol
l
ect
ed.

Webbot
s:

Av
oicer
ecogni
ti
onchat
-boti
sdev
elopedi
nthi
spaper
.Thequest
ions
askedt
othebotar
enotunder
stoodar
efur
therpr
ocessedusi
ngt
heex
per
t-
sy
stem oft
hir
dpar
ti
es.Thewebbot
sar
ecr
eat
edasweb-
fr
iendsbasedon
t
ext
,auserent
ert
ainer
.Ift
hepr
ogr
am i
snotonl
ytext
-based,
butal
sov
oice-
basedequi
pped,t
heyconcent
rat
edont
hei
mpr
ovedsy
stem her
e.Her
e,a
t
wo-
par
tpr
ocessofcapt
uri
ngandanal
ysi
ngani
nputsi
gnali
srequi
redf
or
v
oice r
ecogni
ti
on.Recogni
ti
on ofdat
afr
om t
he ser
verr
esponse and
pr
ocessi
ngofi
nfor
mat
ion.Theser
verusedher
eisabl
ackboxappr
oach
basedonSOAP.Usi
nganexper
tsy
stem makesi
tpossi
blet
oimpr
ove
unl
i
mit
edandaut
onomousi
ntel
l
igence

Sy
stem r
equi
rement
s:

Har
dwar
eRequi
rement
s:

• Sy
stem :
Pent
ium I
V2.
4GHz.
• Har
dDi
sk :
40GB.
• Fl
oppyDr
ive :
1.44Mb.
• Moni
tor :
15VGACol
our
.
• Mouse :
Logi
tech.
• RAM :
256Mb.

Sof
twar
eRequi
rement
s:

• Oper
ati
ngsy
stem :
-Wi
ndows.
• Fr
ontEnd :
-PHP
• Dat
abase :
-MSQL
• Tool
s :
-WAMPPSERVER

Concl
usi
on:

A Chatboti
s a gr
eatt
oolf
orconv
ersat
ion.Her
ethe appl
i
cat
ion i
s
dev
eloped t
o pr
ovi
de qual
i
tyofanswer
sin a shor
tper
iod oft
ime.I
t
r
emov
est
hebur
denf
rom t
heanswerpr
ovi
derbydi
rect
lydel
i
ver
ingt
he
answert
otheuserusi
nganexper
tsy
stem.Thepr
ojecti
sdev
elopedf
ort
he
usert
osav
etheusert
hei
rti
mei
nconsul
ti
ngt
hedoct
orsorexper
tsf
ort
he
heal
thcar
esol
uti
on.Her
ewedev
elopedt
heappl
i
cat
ionusi
ngt
heN-
gram,
TF-
IDFf
orext
ract
ingt
hekey
wor
dfr
om t
heuserquer
y.Eachkey
wor
dis
wei
gheddownt
oobt
aint
hepr
operanswerf
ort
hequer
y.TheWebi
nter
face
i
sdev
elopedf
ort
heuser
s,t
othei
nputquer
y.Theappl
i
cat
ioni
simpr
oved
wi
tht
hesecur
it
yandef
fect
ivenessupgr
adesbyensur
inguserpr
otect
ion
andchar
act
ersandr
etr
iev
inganswer
sconsequent
lyf
ort
hequest
ions.

You might also like