Improving my tags using OpenAI's Chat completions API

from blog Christian Fei's Blog - cri.dev, | ↗ original
Here I want to share how I slightly improved the tags on each of my blog posts. The idea is super simple, a script should do the following: read each blog posts content parse the front matter containing the tags (the header part at the beginning of markdown files) create the prompt containing an excerpt of the blog post call OpenAI’s API and...