๐—•๐˜‚๐—ถ๐—น๐—ฑ๐—ถ๐—ป๐—ด ๐—ฆ๐—ฒ๐—บ๐—ฎ๐—ป๐˜๐—ถ๐—ฐ ๐—ฆ๐—ฒ๐—ฎ๐—ฟ๐—ฐ๐—ต ๐˜„๐—ถ๐˜๐—ต ๐—ฝ๐—ด๐˜ƒ๐—ฒ๐—ฐ๐˜๐—ผ๐—ฟ ๐—ฎ๐—ป๐—ฑ ๐—ข๐—ฝ๐—ฒ๐—ป๐—”๐—œ

Keyword search fails users. A user searches for a funny cat. Your system finds nothing. The video title uses slang. This happened to 31% of our users.

We fixed this with semantic search. This finds meaning instead of words. We used pgvector and OpenAI embeddings.

Our setup:

How we saved money:

How we improved accuracy:

How we improved speed:

The results:

Three lessons for you:

Source: https://dev.to/ahmet_gedik778845/building-video-metadata-semantic-search-with-pgvector-and-openai-embeddings-34c