NBoost is a scalable, search-api-boosting platform for deploying transformer models to improve the relevance of search results on different platforms (i.e. Elasticsearch)
Version of nboost here at github doesn't match version from PyPI - therefore when installing with pip install nboost[pt] can't follow your guide.
It fails with following trace:
curl "http://localhost:8000/travel/_search?pretty&q=passage:vegas&size=2"
E:Proxy:[pro:han:132]:
Traceback (most recent call last)
File "/home/<username>/work/test_nboost/nboost/lib/python3.6/site-packages/flask/app.py", line 1950, in full_dispatch_request
rv = self.dispatch_request()
File "/home/<username>/work/test_nboost/nboost/lib/python3.6/site-packages/flask/app.py", line 1936, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/home/<username>/work/test_nboost/nboost/lib/python3.6/site-packages/nboost/proxy.py", line 126, in proxy_through
db.insert(db_row)
File "/home/<username>/work/test_nboost/nboost/lib/python3.6/site-packages/nboost/database.py", line 21, in insert
cursor = self.get_cursor()
File "/home/<username>/work/test_nboost/nboost/lib/python3.6/site-packages/nboost/database.py", line 17, in get_cursor
conn = sqlite3.connect(str(self.db_file), isolation_level=None)
sqlite3.OperationalError: unable to open database file
@koursaros-ai, If a new release on PyPI is planned, please make sure to update transformers package as well to resolves issues such as #62 and #58 . Thanks.
Version of nboost here at github doesn't match version from PyPI - therefore when installing with
pip install nboost[pt]
can't follow your guide. It fails with following trace:which is indeed fixed here: https://github.com/koursaros-ai/nboost/commit/d77b3efcb7f56c66fd6b9d6c3c9e1c435f576647#diff-604e165591c8e5fb46cb14985099bd8d
but it's not updated on PyPI.
Moreover at your documentation page there are versions up to 0.2.2 which is far away from what this repo contains now.