by shreyans · 3y ago · 0 comments
OpenSearch specifically has an edge over Elasticsearch because it supports vectors up to 10k dimensions, whereas ES maxes out at indexing 1024 dimensions, which isn't enough to support OpenAI's 1536 dimension vectors.
And then there's the benefit of it being well documented / Q&A'd, and able to support regular searching, faceting, etc. as well.
You need to do dimensionality reduction before indexing. Basically it's fine to just pick n first components if you don't want anything fancy.