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

Removed "document_name" from farm.py #31

Merged
merged 1 commit into from
Feb 28, 2020

Conversation

aadil-srivastava01
Copy link
Contributor

Predict method of farm.py was using the assignment of "document_name" but tfidf retriever was not generating that value hence it broke the code and was generating the error.

Copy link
Member

@tholor tholor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, you are totally right. We don't need this in here. We are now actually adding the document_name in the Finder (https://github.com/deepset-ai/haystack/blob/master/haystack/finder.py#L43).

Thanks for reporting and fixing it! Very much appreciated!

@tholor tholor added the type:bug Something isn't working label Feb 28, 2020
@tholor tholor merged commit f6a3dee into deepset-ai:master Feb 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants