Skip to content

Criteria search on a list of points #2862

Answered by drew-wks
drew-wks asked this question in Q&A
Discussion options

You must be logged in to vote

SOLUTION
Since I used Langchain's .from_documents to place the docs into qdrant. I just found a clue from another post about Langchain. when using Langchain, the Qdrant client.scroll key has to be prefixed with "metadata." so in my case it should be key="metadata.page" and key="metadata.source". I just tried it on the code aboce and they all works.Shout out to the Qdrant discord server.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by drew-wks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant