They could have used HuggingFace models to embed texts, put them in a vector search engine and serve results.
- models here: https://sbert.net/docs/pretrained_models.html
- fast vector search here: annoy, faiss, Milvus, Elastic, Pinecone
It's like the hello world of current day NLP.