15th August 2023
TIL
Storing and serving related documents with openai-to-sqlite and embeddings
— I decide to upgrade the related articles feature on my TILs site. Previously I calculated these [using full-text search](https://til.simonwillison.net/sqlite/related-content), but I wanted to try out a new trick using OpenAI embeddings for document similarity instead.