by netruk44 · 2y ago · 0 comments
It’s interesting to compare notes and implementation details. I have many of the same notes and faced very similar challenges in my own work haha.
The most interesting challenge I found was touched on in this post. Semantic searches presented with the typical text box input generally mislead users into treating the search like a Google search.
Searches like “beautiful video game” and “sci-fi thriller” technically work, but they don’t perform as well as just describing a beautiful video game or describing a plot overview of a sci-fi thriller.
Semantic search kind of requires a different kind of search query that many users don’t quite understand yet.
Maybe there’s an opportunity for an intermediary model to “translate” queries, like how recent image generation models take your image prompt and generate a text prompt that’s used for the image generation instead.
Alternatively, you could mean pool (average) the document embeddings for the most popular click results for a given query and use that as the query embedding.
It works if there actually is a game out there you want similar games to, but the text input is useful for finding something when you don’t have an example offhand.
You can see the project here: https://azstatic.danieltperry.me/steamvibes/build
I’m not 100% satisfied with the performance of the search, but it is what it is. I wanted to get what I had out instead of perfecting it all, since there's a ton of different things I can do that all have ambiguous amounts of impact to the results.
I might switch to using a different embedding model in the future since the current one I'm using seems to be fairly dated by this point.