I wrote about one way to implement that pattern here: https://simonwillison.net/2023/Jan/13/semantic-search-answer...
I wrote about one way to implement that pattern here: https://simonwillison.net/2023/Jan/13/semantic-search-answer...