Skip to content

Instantly share code, notes, and snippets.

@cx0
Last active May 16, 2024 10:33
Show Gist options
  • Save cx0/c280e1aa0666ee380b94106cb2dc3dd2 to your computer and use it in GitHub Desktop.
Save cx0/c280e1aa0666ee380b94106cb2dc3dd2 to your computer and use it in GitHub Desktop.
Live demo of GPT-4o coding assistant and desktop app
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@cx0
Copy link
Author

cx0 commented May 16, 2024

Ask ChatGPT for visual data analysis

Prompt #1: "Okay ChatGPT, I'm sharing with you the plot now. I'm wondering if you can give me a really brief one-sentence overview of what you see."

Prompt #2: "Fantastic. I have another question for you. Which months do you see the hottest temperatures and roughly what temperatures do those correspond to?"

Prompt #3: "What's going on with the y axis? Is this in Celsius or Fahrenheit?"

ChatGPT response from the live demo

Response #1: "The plot displays smoothed average, minimum and maximum temperatures throughout 2018 with a notable annotation marking a big rainfall event in late September."

Response #2: "The hottest temperatures occur around July and August. The maximum temperature during these months is roughly between 25 degrees and 30 degrees (77 degrees Fahrenheit to 86 degrees Fahrenheit)."

Response #3: "The y axis is in Celsius. The temperatures are labeled accordingly such as average temperature, minimum temperature and maximum temperature."

ChatGPT response from the text input

Response #1: "The plot shows the daily average, minimum, and maximum temperatures over the year 2018, with a significant rainfall event annotated in late September."

Response #2: "The hottest temperatures occur during July and August, with maximum temperatures reaching around 30°C, average temperatures around 20-25°C, and minimum temperatures between 15-20°C."

Response #3: "The y-axis is labeled as “Temperature” and given that the values are between -5 and 30, it is most likely in degrees Celsius. This range is typical for weather data in Celsius, especially considering the location (49.2497° N, -123.1193° W) which corresponds to Vancouver, Canada."

Screenshot 2024-05-16 at 3 19 10 AM

Response from GPT-4 model (gpt-4-turbo-2024-04-09)

Response #1: "The plot displays the daily average, minimum, and maximum temperatures throughout 2018, with a noticeable annotation for a significant weather event labeled “Big Rainfall” in September, showing a peak in maximum temperature."

Response #2: "The hottest temperatures in the plot occur around July and August, where the maximum temperature line (green) peaks at approximately 25 to 30 degrees Celsius."

Response #3: "The y-axis of the plot is likely showing temperatures in degrees Celsius, as indicated by the values ranging from about -5 to 30 degrees Celsius, which are typical temperature ranges you might expect to see in many parts of the world using the Celsius scale."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment