How I use AI in my blog

Edit: I no longer use OpenAI.

Edit: added link to my human.json file.

Edit: I stopped using Claude Code.

A short disclaimer on how I use AI on my blog:

I have used Claude Code for the initial development of my blog. These days I'm more aware of the social and environmental impacts of AI, and I'm back to writing code by hand.

I use the Claude API to estimate the nutritional content of things I eat and drink, as a way of tracking my calorie and protein intake. My blog has a custom entry type called #food, where I upload a photo of the food and a short description, and a background tasks uses the API to infer the nutritional information (example). These posts will have the x-ai-assisted property set to true, and a 🤖 emoji on them.

I use the all-MiniLM-L6-v2 model, running locally, to compute semantic embeddings for each entry, in order to generate recommendations.

My blog has a human.json file, declaring that the content I write is human-generated, and vouching for the other people who I trust to write their own content. You can learn more about the protocol (which I wrote) here: https://codeberg.org/robida/human.json