Hi Pinecone Team,
I’m building a template search system where we store templates in Pinecone using a single vector created from a list of tags. Here’s an example of such a tag list:
diwali,festival,lights,festivals,deepawali,deepavali,greetings,wish,wishes,card,greeting,design,celebration,dipawali,दीपावली,dewali,deewali,dipavali,दिवाळी,divali,dipawli,wishfully,festivel,featival,dipabali,fastivel,depavali,lighted
We use these tags to perform vector searches and successfully get relevant results based on similarity. However, we noticed that some of the most recent (newest) relevant templates are buried in the middle or end of the results list.
What we want:
We’d like to sort or prioritize the most relevant AND most recently updated templates at the top of the results. In other words, the newest relevant results should appear first.
Current Setup:
-
We embed tag vectors using
text-embedding-3-large
. -
We use dot product for similarity.
-
Detail template information is stored in MySql.
My Question:
Is there a way in Pinecone to get:
Most newest relevant results
If not directly possible, what’s the best practice to post-process Pinecone results to achieve this behavior efficiently?
Thanks in advance!