If you want to build something like this yourself, we sponsored Greg to create a video detailing all the steps: https://www.youtube.com/watch?v=Yhtjd7yGGGA
Also special shoutout to pgvector (https://github.com/pgvector/pgvector), which is used to store all of the embeddings.