-
Notifications
You must be signed in to change notification settings - Fork 17.3k
Qdrant Wrapper issue: _document_from_score_point exposes incorrect key for content #1087
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@rishabh-ti Could you please share some more context? How do you create a Qdrant collection? Are there any chances you provide |
So my collection & records already exist in Qdrant. I was passing it in ChatVectorDBChain which was giving me issues when I ran: |
@rishabh-ti Great to see the whole context. Thanks a lot! I assume you uploaded the records on your own and just used the "content" payload key to store the texts. If so, we can consider introducing two additional parameters into the
The default values would be set to "page_content" and "metadata" respectively, but in your case, you'll be able to change them so they work as intended. Would that be ok? |
Yes that would work! |
This PR: - Increases `qdrant-client` version to 1.0.4 - Introduces custom content and metadata keys (as requested in #1087) - Moves all the `QdrantClient` parameters into the method parameters to simplify code completion
…in-ai#1093) The langchain-ai#1088 introduced a bug in Qdrant integration. That PR reverts those changes and provides class attributes to ensure consistent payload keys. In addition to that, an exception will be thrown if any of texts is None (that could have been an issue reported in langchain-ai#1087)
This PR: - Increases `qdrant-client` version to 1.0.4 - Introduces custom content and metadata keys (as requested in langchain-ai#1087) - Moves all the `QdrantClient` parameters into the method parameters to simplify code completion
Hello, I have this exact same issue. Could I ask you to expand more on this metadata? I have my qdrant server with data inside, but when i try to use it as a retriever, i keep getting this validation error |
The text was updated successfully, but these errors were encountered: