Skip to content
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

QdrantRM hard coded payload name as 'document' #1237

Closed
hawktang opened this issue Jul 3, 2024 · 2 comments
Closed

QdrantRM hard coded payload name as 'document' #1237

hawktang opened this issue Jul 3, 2024 · 2 comments

Comments

@hawktang
Copy link
Contributor

hawktang commented Jul 3, 2024

QdrantRM hard coded payload name as 'document', when qdrant collection has no key document, it will cause error and return None

image

class QdrantRM(dspy.Retrieve):

image

@hawktang
Copy link
Contributor Author

hawktang commented Jul 3, 2024

PS: Why should we keep duplicate document

@hawktang hawktang closed this as completed Jul 3, 2024
@hawktang
Copy link
Contributor Author

hawktang commented Jul 3, 2024

Sorry we have document_field parameter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant