oryx1729
8c68699e1c
Refactor REST APIs to use Pipelines ( #922 )
2021-04-07 17:53:32 +02:00
Malte Pietsch
9b1924a54a
Revert TOP_K_PER_CANDIDATE value to 3
2021-02-15 14:30:04 +01:00
Malte Pietsch
0eaae3c0dd
Fix UI when API returns fewer answers than expected ( #828 )
...
* fix ui for few answers from api. add top_k_per_sample env
* Add latest docstring and tutorial changes
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-02-15 14:27:17 +01:00
Tanay Soni
f95b70df38
Fix file upload API ( #808 )
2021-02-05 12:17:38 +01:00
Malte Pietsch
e9b5439b00
Rename label id field for elastic & add UPDATE_EXISTING_DOCUMENTS to API config ( #728 )
...
* rename label id field for elastic
* add UPDATE_EXISTING_DOCUMENTS param to API config
2021-01-12 13:00:56 +01:00
Guillim
65cf9547d2
Allow setting return_no_answers for TransformersReader in REST API (SQuAD 1.0 format) ( #609 )
...
* Update config.py
* new option
Allow a new option from the settings : tell is a reader model can return a "no answer" like SQuAD2.0 models, or if it's only a SQuAD1.0-like model, always giving an answer.
2020-11-20 14:09:39 +01:00
Lalit Pagaria
23f1058b90
Fixing defaults in config for rest_api ( #583 )
...
* Fixing defaults configs for rest_apis
* Reverting change to VALID_LANGUAGES
* Casting EMBEDDING_DIM as int
2020-11-16 06:51:27 +01:00
Malte Pietsch
46fac41b54
Allow configuration of log level in REST API via ENV ( #541 )
...
* configure log level via env. adjust debug messages
* pin faiss version
2020-11-04 09:54:02 +01:00
Malte Pietsch
bdbd1b323b
Add create_index and similarity metric to api config ( #493 )
...
* make creation of label index optional
* add params for rest api
* reset tutorial flag
2020-10-15 18:41:36 +02:00
Malte Pietsch
a92ca04648
Update GPU docker & fix race condition with multiple workers ( #436 )
...
* fix gpu CMD and set tag to latest
* udpate dockerfiles. resolve race condition of index creation with multiple workers
* update dockerfiles for preload. remove try catch for elastic index creation
* add back try/catch. disable multiproc in default config to comply with --preload of gunicorn
* change to pip3 for GPU dockerfile
* remove --preload for gpu
2020-09-29 21:12:44 +02:00
Tanay Soni
03fa4a8740
Exclude embedding fields from the REST API ( #390 )
2020-09-17 14:37:01 +02:00
Karim Jana
c7078a36c0
Custom fields for indexing in ElasticsearchDocumentStore ( #297 )
2020-08-10 11:34:39 +02:00
Malte Pietsch
29a15c0d59
Add eval for Dense Passage Retriever & Refactor handling of labels/feedback ( #243 )
2020-07-31 11:34:06 +02:00
Malte Pietsch
e5b6546112
Change default reader for REST API
2020-07-16 10:02:06 +02:00
Tanay Soni
5c1a5fe61d
Add dummy retriever for benchmarking / reader-only settings ( #235 )
2020-07-15 17:22:17 +02:00
Guillim
8a616dae75
Adjust Docker and REST API to allow TransformsReader Class ( #180 )
2020-07-07 16:25:36 +02:00
Tanay Soni
ec433a5ed6
Move out REST API from PyPI package ( #160 )
2020-06-22 12:07:12 +02:00