Find answers from the community

Updated 7 months ago

but here is another question, for a

but here is another question, for a unusual use case I like to run a query against the vector store and only want result that are more far than a given distance. yes you read right I'm looking for results far away from my query πŸ™‚ is it somehow possible to define what the minimum distance should be when doing a query?
L
o
3 comments
hmm, I don't think this is possible, unless the vector db you are using has some specific option to do this
you could retrieve using a large top-k and then taking the results at the end of the list
Im using qdrant, and I found that when using the client directly you can do a paged search and tell you want to see page 100 that way you get far away from your query... so far so good πŸ™‚ but when looking at the results it still looks strange as out of 3m entries in entry 1m it still has can in the text when searching for cat... I was not aware I have so many cats in my store πŸ˜„
Add a reply
Sign up and join the conversation on Discord