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

write_documents_to_db() got an unexpected keyword argument 'only_empty_db' #6

Closed
keherri opened this issue Jan 20, 2020 · 2 comments
Closed

Comments

@keherri
Copy link

keherri commented Jan 20, 2020

Following the GoT tutorial I received the following error when using the write_documents_to_db(only_empty_db=True) function write_documents_to_db() got an unexpected keyword argument 'only_empty_db'.

I installed using pip install farm-haystack

@tholor
Copy link
Member

tholor commented Jan 20, 2020

Hey @keherri ,

Thanks for reporting. It's probably a version mismatch between the tutorial and the haystack version. Can you please check if this issue still occurs when installing directly from current master branch?

git clone https://github.com/deepset-ai/haystack.git
cd haystack
pip install -e .

We introduced the only_empty_db only recently and didn't do a pypi release yet since we want
to finish a few other features first. We'll probably do a release later this week.

The version on the master branch has also a few other bugfixes and supports models from huggingface's transformers.

@keherri
Copy link
Author

keherri commented Jan 20, 2020

Installing from current branch fixed issues. Thanks. Results are looking great!

@keherri keherri closed this as completed Jan 20, 2020
masci pushed a commit that referenced this issue Nov 27, 2023
feat: `save_pipelines()` and `load_pipelines()`
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

2 participants