Tag: Sanity
-

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…
-

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…
-

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…
-

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…