A Quick Demo of Gemini’s Decisions API / / No Comments Yesterday, Google formally released their new Decisions API, and it’s a pretty important new addition to Gemini in general, so I thought I’d share a quick introduction and demo to give you an idea of how it can be used. Of course, the first thing I need to do is explain what it is and why you should care. Decisions API? Generative AI has been able to answer questions since the beginning. Where the difficulty lies is in turning those answers into machine readable output. What do I mean by that? I can write code that takes a photo and asks my AI service what’s in the photo. So for example – I pass this photo to Claude: I asked, "what’s in this picture",... more → Posted in: JavaScript Tagged with: Decisions, Demo, Gemini's, Quick
My Last Spotify Demo (this time I mean it – honest) / / No Comments Earlier this month, I blogged about building my own Spotify Unwrapped. I did this by requesting a data export from Spotify and playing around with the data in Python and Astro. I built a simple, and probably bad, Astro site to view my stats. When I built it, I had an idea for a slight tweak to make it a bit better, but one that would require API usage. I stand by what I said about not wanting to use the API anymore (feel free to ask why in the comments), but I couldn’t resist tinkering one more time. Here’s what I did. Using Python to Enhance Artist Info In the output from Spotify’s export, you get a detailed listing of the tracks you’ve listened to. As a reminder, here’s... more → Posted in: JavaScript Tagged with: Demo, honest, last, mean, Spotify, this, time
Quick Demo of Chrome’s Summarization GenAI (Upcoming) API / / No Comments I’ve blogged a few times recently about Google’s AI on Chrome initiative to bring AI features to the browser itself. Yesterday, my Code Break episode was specifically on this topic: Play Video In that session, I talk specifically about the Summarizer API, which does… wait for it… summarization. (It also covers the Writer and Rewriter API which I covered… woah, way back in September of last year: "Using Chrome AI to Rewrite Text") One interesting aspect of the API is that it offers multiple types of summarization: key points (the default) tl;dr teaser headline You can also request three different lengths: short medium (default) long According... more → Posted in: JavaScript Tagged with: Chrome's, Demo, GenAI, Quick, Summarization, Upcoming
Next , and Vote For My AI Demo! / / No Comments Greetings, programs. This is just a quick note about my <Code><Br> show. Usually the show goes on every two weeks, but with the holiday this week I pushed it off to September 17th. You can find the details and RSVP here: "Parks and Recreation – Using Leaflet and the NPS" As the link says, this will be another stream involving Leaflet, which I’ve been having a hell of a lot of fun with the last few weeks. I hope to see you there! And then on a completely different topic, I’ve entered the Gemini API Developer Competition and honestly, I’ve probably got no chance to actually win, but I’d love for you to take a look at my entry, Content Assistant,... more → Posted in: JavaScript Tagged with: Demo, Next, Vote