This research aims to analyze the public's response to ChatGPT through data obtained from Twitter. Apart from that, it is also to understand whether people's responses tend to be positive or negative towards ChatGPT, as well as to test the performance of the K-Nearest Neighbors (KNN) method in classifying sentiment patterns in tweet data. The sentiment analysis method is carried out by dividing public responses into positive and negative categories. Next, the performance of the K-Nearest Neighbors (KNN) method was tested with varying k values ??to classify sentiment patterns in tweet data. This testing includes dataset division, vectorization of text data using TF-IDF, initialization and training of the KNN model, and evaluation of model performance using metrics such as precision, recall, and f1-score. The results of sentiment analysis show that the majority of people's responses to ChatGPT are positive (74.3%), while 25.7% of responses are negative. Performance testing of the KNN model shows that the highest accuracy of 88% is achieved when the k value is 5. Evaluation of model performance also shows satisfactory levels of precision, recall and f1-score. Based on the research results, it was concluded that sentiment analysis and classification using KNN were effective in understanding people's responses to ChatGPT