A randomized controlled trial in primary care in China investigated the use of a chatbot with a large language model for history taking, suggesting preliminary diagnoses and tests for patients.[content] Consultation times were reduced in the chatbot group.[content] The average visit time in the control group was 4.41 minutes.[content] The average consultation time in the chatbot group was 3.14 minutes.[content] The study focuses on the implementation of artificial intelligence in health care to solve time-consuming tasks. [content] Chatbot allows doctors to focus on the activities for which they are trained. [content]