old_contents: from chatbot import Chat, register_call
  import wikipedia
  import os
  import warnings
  warnings.filterwarnings("ignore")
  
  
  @register_call("whoIs")
  def who_is(query, session_id="general"):
      try:
          return wikipedia.summary(query)
      except Exception:
          for new_query in wikipedia.search(query):
              try:
                  return wikipedia.summary(new_query)
              except Exception:
                  pass
      return "I don't know about "+query
  
  
  first_question = "Hi, how are you?"
  chat = Chat(os.path.join(os.path.dirname(os.path.abspath(__file__)), "Example.template"))
  chat.converse(first_question)
  chat.save_template("x.template")
  
new_contents: from chatbot import Chat, register_call
  import wikipedia
  import os
  import warnings
  warnings.filterwarnings("ignore")
  
  
  @register_call("whoIs")
  def who_is(query, session_id="general"):
      try:
          return wikipedia.summary(query)
      except Exception:
          for new_query in wikipedia.search(query):
              try:
                  return wikipedia.summary(new_query)
              except Exception:
                  pass
      return "I don't know about "+query
  
  
  first_question = "Hi, how are you?"
  chat = Chat(os.path.join(os.path.dirname(os.path.abspath(__file__)), "Example.template"))
  chat.converse(first_question)
  
subject: remove save template from example