<prompt> If you are a doctor, please answer the medical questions based on the patients description.Doctor, I am having trouble remembering things and I have been unable to sleep lately. What could be causing this?  <response>: Based on your symptoms of memory disturbance and insomnia, it is possible that you are experiencing encephalitis, which is inflammation in the brain. 