Latest articles

  • Failing Over Between Gemini Models

    Failing Over Between Gemini Models

    In a recent article I highlighted how to use Google Gemini LLM for tagging content, but I also highlighted that the free tier offered has daily quota that you need to stay under. Each model that you connect to has its own quota, and with some simple error trapping we can toggle between tiers and… Read more

  • Using Webhooks to Update an Algolia Index on Every Sanity Edit

    Using Webhooks to Update an Algolia Index on Every Sanity Edit

    While exploring Sanity and Algolia, I decided to investigate how to keep my Algolia index updated as edits were made in the Sanity Studio. It turned out that this was super simple to set up by using webhooks in the Sanity Studio configuration. I followed a great guide on Sanity io by Irina Blumenfeld on… Read more

  • Using Google Gemini to Suggest Tags From a Taxonomy List

    Using Google Gemini to Suggest Tags From a Taxonomy List

    I recently wrote about using OpenAI as I was exploring doing some tagging of content based on product or article information. After seeing the cost it would be for a large number of requests, I looked into what might have a more generous free tier and found Google Gemini to be quite useful for development… Read more

  • Moradin’s Call | A Thora Silentblade tale

    Moradin’s Call | A Thora Silentblade tale

    The sun was hot and high in the sky when they started to approach their destination. Even though Thora felt as if they had all just arrived minutes ago from that other plane, the dwarf also felt sweaty and tired, as if they’d been sitting there for hours glued to the wagon driver’s bench. Everything… Read more

  • Using OpenAI to Suggest Tags From a Taxonomy List

    Using OpenAI to Suggest Tags From a Taxonomy List

    To be able to search and list products by tags, the data in a database needs those tags associated to every product (or piece of content). Sometimes, that is just too large to manually curate. I wanted auto-tagging, but not just whatever tag the AI could think up. I have a specific taxonomy that I… Read more

  • Using GROQ to Extract an Excerpt from a Sanity Block Content Field

    Using GROQ to Extract an Excerpt from a Sanity Block Content Field

    I was digging into Sanity to learn a little bit more about GROQ and how the queries work while building out a potential replacement for my blog hosting. When listing articles, one of the most common things I want to do is show a little excerpt from the article, but I don’t want to create… Read more