sujee.dev

Portfolio / Generative AI

Comparing Vector Search Results Across Various Embedding Models

This experiment showcases how various embedding models affect search performance. MongoDB is our vector database. We create embeddings for plot lines using various models. Then do query.

code to populate embeddings
code to perform vector search

Here is the comparison between openAI and an open source model. You can see results are pretty comparable!