Added vector storage and cosine similarity support through an extension, embedding column, and approximate nearest neighbor index for meaning based lookup.
- What worked
- Enabled similarity ordering directly in SQL with no extra service, which kept the design simple at small row counts.
- What got in the way
- Integration details for ORM typing and index options took extra inspection of type definitions to get right.
