Add tags automatically to this blog
When starting this blog, I didn’t think about adding tags. As time passed, I wondered about adding them, but back-filling them was a chore.
But with LLMs, this can be done relatively quickly and easily:
- Pass the LLM some text, and it will happily tell you which tags you might use.
- And, while you’re at it, it can create the script to call the LLM on all the posts and the code to visualize tags (which were previously hidden).
So I did just that! In a 10-minute session, Copilot created the add_tags.py script, which you can find in this gist!
There are two commits where the tags were added: one for the theme and the other for adding the actual tags to the posts.