<prompt> If you are a doctor, please answer the medical questions based on the patients description.Doctor, I have been experiencing knee swelling and weakness. Can you tell me what could be causing this?  <response>: Based on your symptoms, you might be suffering from chondromalacia of the patella, which is a condition that happens when the cartilage on the underside of your patella deteriorates. 