Answers.Body: <p>The former: build and train a model first, and <em>then</em> think about the user interface.</p>
  
  <p>Effectively, a chatbot is a user interface to your model. If you run it 'off-line' on input text and it works, then you have achieved your goal without the added complexity of driving a conversation (which is harder than one might think).</p>
  
  <p>Also, building an 'abstract' chatbot devoid of any content is going to be harder. What should that chatbot talk about?</p>
  
  <p>From my own experience (I work in conversational AI), you might not succeed in building a decent chatbot, especially as a novice. But you might be able to train a model to identify diseases from textual input. So if you do that first, you have at least got something! Especially if that is your main reason for the project in the first place.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-04-17T11:36:41.867Z
Answers.Text: First and foremost, thank you for your reply. I am a bit confused. Are you implying that this approach here in  this blog here is not appropriate: https://medium.com/analytics-vidhya/building-a-simple-chatbot-in-python-using-nltk-7c8c8215ac6e and neither this approach here: https://www.upgrad.com/blog/how-to-make-chatbot-in-python/?fbclid=IwAR3EwM1t5pGw36y7AyOFm0wqiYLJtGKCXS81yee9O2aRGrEPHl4xRSuj_0U ? Please elaborate and explain. Once again, thank you.
Answers.UserDisplayName: Muhammad Maqsoodur Rehman
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-04-17T13:30:35.040Z
Answers.Text: Those are just introductory articles to demonstrate the concept. You are trying to build a full-blown application, not just a toy demo.
Answers.UserDisplayName: Oliver Mason
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-04-12T12:11:51.767Z
Answers.LastActivityDate: 2020-04-12T12:11:51.767Z
Answers.UserDisplayName: Oliver Mason
Body: <p>I am a novice in AI and I like to build a chatbot to predict diseases using patient narration as input. Initially, I simply want to train my chatbot on 1 disease only. And once this initial milestone is accomplished then I want to train it on other diseases. </p>
  
  <p>I want to know whether I should build and train my model first and then move towards building a chatbot or should i create a chatbot first and then train it on a disease.</p>
  
  <p>Also please justify which approach is better and why? </p>
  
Tags: <prediction><chat-bots>
Title: What is the best approach to build a self-learning AI chatbot?
UserDisplayName: Muhammad Maqsoodur Rehman
ThreadText: # What is the best approach to build a self-learning AI chatbot?
  
  (Asked by: username_0 on 2020-04-12)
  
  I am a novice in AI and I like to build a chatbot to predict diseases using patient narration as input. Initially, I simply want to train my chatbot on 1 disease only. And once this initial milestone is accomplished then I want to train it on other diseases.
  
  I want to know whether I should build and train my model first and then move towards building a chatbot or should i create a chatbot first and then train it on a disease.
  
  Also please justify which approach is better and why?
  
  **Tags:** prediction, chat-bots
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-04-12. Score: 2
  
  The former: build and train a model first, and *then* think about the user interface.
  
  Effectively, a chatbot is a user interface to your model. If you run it 'off-line' on input text and it works, then you have achieved your goal without the added complexity of driving a conversation (which is harder than one might think).
  
  Also, building an 'abstract' chatbot devoid of any content is going to be harder. What should that chatbot talk about?
  
  From my own experience (I work in conversational AI), you might not succeed in building a decent chatbot, especially as a novice. But you might be able to train a model to identify diseases from textual input. So if you do that first, you have at least got something! Especially if that is your main reason for the project in the first place.
  
  > **Comments:**
  > **username_0**: First and foremost, thank you for your reply. I am a bit confused. Are you implying that this approach here in  this blog here is not appropriate: https://medium.com/analytics-vidhya/building-a-simple-chatbot-in-python-using-nltk-7c8c8215ac6e and neither this approach here: https://www.upgrad.com/blog/how-to-make-chatbot-in-python/?fbclid=IwAR3EwM1t5pGw36y7AyOFm0wqiYLJtGKCXS81yee9O2aRGrEPHl4xRSuj_0U ? Please elaborate and explain. Once again, thank you.  
  > **username_1**: Those are just introductory articles to demonstrate the concept. You are trying to build a full-blown application, not just a toy demo.  
  
  ---
  
  