As AI instruments like ChatGPT grow to be better-known and extra accessible, enterprising makers discover ever extra inventive makes use of for the expertise. Whereas it’s a mistake to depend on these for something goal (as we’ll focus on in a second), they will produce surprisingly refined content material. ChatGPT, for instance, excels at creating content material that appears prefer it was written by a human. Maybe most attention-grabbing is its means to include humor — usually higher than self-identified comedians can. Alan turned that functionality to his benefit so as to construct this climate show that makes use of ChatGPT and DALL-E to make studies entertaining.
Alan’s implementation, described under, is sensible if you’re acquainted with the restrictions of ChatGPT and different AI writing instruments. The most important drawback is that ChatGPT struggles with real-time knowledge, as a result of that data would not have been current in its coaching knowledge. However even apart from that, ChatGPT is liable to “hallucinations,” that are what most of us would name “lies.” ChatGPT will fabricate data entire material, then try and go it off as reliable. It is going to, for instance, cite sources that don’t exist. So if you want data that displays actuality and factual reality, you shouldn’t flip to ChatGPT.
That pressured Alan to take a roundabout route to construct this gadget. The gadget’s goal is to show an AI-generated piece of artwork within the fashion of Picasso that displays the day’s predicted climate. The workflow begins with a pc scraping the web to search out climate data for the day. It parses that to get a simplified description that features the temperature and the overall circumstances, like “sunny” or “snowy.” It then generates a immediate asking ChatGPT to jot down a inventive story primarily based on that data. From there, it takes the response and feeds it into DALL-E 2, which returns an inventive picture that mirrors the story and subsequently the climate.
The pc passes that picture to a Raspberry Pi Pico improvement board with an Ethernet HAT connected via Alan’s native community. The Pico can then present the picture on a ILI9341-driven 2.2″ 240×320 TFT LCD related through SPI.
That is a reasonably difficult sequence of steps, however the result’s as intuitive as could be. Every day, the gadget’s display exhibits a enjoyable little artwork piece that represents the anticipated climate. It is a nice instance of working with the restrictions of AI instruments, as an alternative of attempting to pressure them to be one thing they are not.