In a live demo, the speaker showcases the capabilities of the Chat GPT desktop app for coding assistance using a weather data analysis code. Chat GPT assists in summarising the code’s functionality, explaining the impact of a specific function on the plot, and providing insights on temperature trends, highlighting its versatility in handling coding tasks and visualizing data effectively.
In a live demonstration, the speaker opens the Chat GPT desktop app to showcase its coding assistance capabilities. They share some code on the screen and interact with Chat GPT by highlighting the code commands. Chat GPT cannot see the screen but can hear the speaker’s commands. The code in question fetches daily weather data for a specific location and time period, smooths the temperature data using a rolling average, annotates significant weather events on the resulting plot, and displays the plot with average minimum and maximum temperatures over the year.
The speaker engages Chat GPT by asking for a brief one-sentence description of the code’s functionality, to which Chat GPT provides a concise summary of the code’s purpose. The speaker then queries Chat GPT about a specific function within the code named “Fu” and asks for a comparison of the plot with and without this function. Chat GPT explains how the Fu function affects the plot by smoothing out temperature lines through a rolling mean, reducing noise in the data for a clearer representation.
Following this, the speaker expresses interest in applying the Fu function and proceeds to generate the plot to share with Chat GPT. They describe their excitement to see how Chat GPT’s vision capabilities will allow it to view the plot in real-time. Chat GPT provides a concise overview of the plot, mentioning smoothed average minimum and maximum temperatures throughout 2018 with a notable annotation of a significant rainfall event in late September.
In a subsequent interaction, the speaker asks Chat GPT about the hottest temperatures visible on the plot and the corresponding months. Chat GPT responds that the hottest temperatures occur around July and August, with maximum temperatures ranging between 25°C to 30°C (77°F to 86°F). The speaker clarifies the unit of measurement on the y-axis, confirming that the temperatures are in Celsius. They conclude by highlighting Chat GPT’s versatility in not only solving algebraic equations but also interacting with codebases to visualize and interpret plot outputs effectively. The demonstration showcases Chat GPT’s ability to assist with a range of tasks, from simple calculations to complex coding scenarios.