Find answers from the community

Updated 4 months ago

Hello i am currently trying to query

Hello i am currently trying to query based off of recipe documents in my database. I have vectorized each document through the Pinecone vector store, although when i query a request such as, "salmon" for recipes i get low scores for the matches although there are plenty of similar recipes in the database. I wonder how i can get higher relevance scores?
L
g
3 comments
Take the scores with a grain of salt, they don't mean too much. Especially when you are comparing a single word to an entire document

Every embedding model will also have slightly different scores that are considered "good". For example, openai scores are usually arond 0.7->0.8. BGE models might be around 0.5
Is there a way to turn my single word into a vectorized document of some sort that would retrieve better results
So if you already know you are searching a db of recipes, you could ask an LLM to expand the query based on that background info
Add a reply
Sign up and join the conversation on Discord