Skip to content
Permalink
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
#start code of by giving them an intro about the chat bot and what it provides
def intro():
print("Hello, I am your personal, user- friendly therapy chat bot!")
print("I have the ability to provide you with advice on certain mental health issues such as stress, depression, anxiety and bullying,")
print("or I am more than delighted to be a listener if that helps you feel better and that's what you need")
print("Would you like to talk?")
answer=input()
ans = ["yes", "YES", "Yes"]
if answer in ans:
print ("Before starting the session I would like you to know that I will maintain confidentiality and ensure that all of the details that you may provide me with remain private, and at the end of the session all of your data will be cleared and not be used for other purposes.")
print("How may I help you today?") #ask a question to start of the conversation with the user
intro()