Answers.Body: <p>One 'easy' way would be to have some sort of conversational memory, where you track what the user has said already. I don't know how complex your patterns are, but if you could recognise names and track references, you could try and build up a mental model of the user's relationships with other people, and perhaps refer to that in your bots responses.</p>
  
  <p>The latter will be quite advanced, but keeping track of things said earlier and referring back to them on occasion might make it appear a lot more capable.</p>
  
  <p>As an added bonus, track changes in the user's sentiment scores, and see if you spot a pattern in the conversation (maybe over the course of multiple conversations) to see which bot utterance have the biggest (positive or negative) effect on the user's mood.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-05-15T22:55:38.370Z
Answers.Text: Google Home already tries to do this to a very small extent, i.e. it tries to take into account the context or previously asked question. Although my knowledge of NLP and NLU is limited, I guess this type of capability will improve even further with time.
Answers.UserDisplayName: nbro
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-05-15T10:19:37.447Z
Answers.LastActivityDate: 2020-05-15T10:19:37.447Z
Answers.UserDisplayName: Oliver Mason
Body: <p>I’ve coded a simple ELIZA chatbot for a high school coding competition. The chatbot is part of an app that’s designed to help its user cope with depression, anxiety, and similar mental health disorders. It uses sentiment analysis to identify signs of mental illness, and to track it's user's progress toward "happiness" over time.</p>
  
  <p>My question is, what steps can I take to make it more realistic (without using some pre-existing software, library, etc, which isn't allowed)? Also, are there any existing tables of questions/responses I can add to my ELIZA bot's repertoire so that it can handle more conversations?</p>
  
Tags: <natural-language-processing><ai-design><chat-bots><natural-language-understanding>
Title: How can I make ELIZA more realistic?
UserDisplayName: PerplexedDimension
ThreadText: # How can I make ELIZA more realistic?
  
  (Asked by: username_0 on 2020-05-15)
  
  I’ve coded a simple ELIZA chatbot for a high school coding competition. The chatbot is part of an app that’s designed to help its user cope with depression, anxiety, and similar mental health disorders. It uses sentiment analysis to identify signs of mental illness, and to track it's user's progress toward "happiness" over time.
  
  My question is, what steps can I take to make it more realistic (without using some pre-existing software, library, etc, which isn't allowed)? Also, are there any existing tables of questions/responses I can add to my ELIZA bot's repertoire so that it can handle more conversations?
  
  **Tags:** natural-language-processing, ai-design, chat-bots, natural-language-understanding
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-05-15. Score: 3
  
  One 'easy' way would be to have some sort of conversational memory, where you track what the user has said already. I don't know how complex your patterns are, but if you could recognise names and track references, you could try and build up a mental model of the user's relationships with other people, and perhaps refer to that in your bots responses.
  
  The latter will be quite advanced, but keeping track of things said earlier and referring back to them on occasion might make it appear a lot more capable.
  
  As an added bonus, track changes in the user's sentiment scores, and see if you spot a pattern in the conversation (maybe over the course of multiple conversations) to see which bot utterance have the biggest (positive or negative) effect on the user's mood.
  
  > **Comments:**
  > **username_2**: Google Home already tries to do this to a very small extent, i.e. it tries to take into account the context or previously asked question. Although my knowledge of NLP and NLU is limited, I guess this type of capability will improve even further with time.  
  
  ---
  
  